Package com.amazonaws.services.s3.model
Class BucketNotificationConfiguration.TopicConfiguration
java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.TopicConfiguration
com.amazonaws.services.s3.model.BucketNotificationConfiguration.TopicConfiguration
- All Implemented Interfaces:
Serializable
- Enclosing class:
BucketNotificationConfiguration
@Deprecated
public static class BucketNotificationConfiguration.TopicConfiguration
extends TopicConfiguration
Deprecated.
Represents the SNS topic to publish event notification to. Notifications are published to the topic only if the specified event is triggered.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTopicConfiguration
(String topic, String event) Deprecated.Creates a newBucketNotificationConfiguration.TopicConfiguration
. -
Method Summary
Methods inherited from class com.amazonaws.services.s3.model.TopicConfiguration
getTopicARN, setTopicARN, withTopicARN
Methods inherited from class com.amazonaws.services.s3.model.NotificationConfiguration
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
-
Constructor Details
-
TopicConfiguration
Deprecated.Creates a new
BucketNotificationConfiguration.TopicConfiguration
.- Parameters:
topic
- The SNS Topic ARN (Amazon Resource Name) to publish notifications to.event
- The event that must occur to trigger the notification publication.
-
-
Method Details
-
getTopic
Deprecated.Gets the topic ARN (Amazon Resource Name) for the topic to publish events to.
- Returns:
- The topic ARN for the topic to publish events to.
-
getEvent
Deprecated.useNotificationConfiguration.getEvents()
instead.Gets the first event that is configured in the list of events.
-
toString
Deprecated.
-
TopicConfiguration
instead