Class TopicConfiguration
java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.TopicConfiguration
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BucketNotificationConfiguration.TopicConfiguration
Represents the topic configuration for an Amazon S3 bucket.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTopicConfiguration(String topicARN, String... events) Creates a new topic configuration with the given topic arn and set of events.TopicConfiguration(String topicARN, EnumSet<S3Event> events) Creates a new topic configuration with the given topic arn and set of events. -
Method Summary
Modifier and TypeMethodDescriptionReturns the topic arn for this notification configuration.voidsetTopicARN(String topicARN) Sets the topic ARN for this configurationwithTopicARN(String topicARN) Fluent method to set the topic ARN for this configurationMethods inherited from class NotificationConfiguration
addEvent, addEvent, addObjectPrefix, getEvents, getFilter, getObjectPrefixes, setEvents, setFilter, setObjectPrefixes, withEvents, withFilter, withObjectPrefixes
-
Constructor Details
-
TopicConfiguration
public TopicConfiguration() -
TopicConfiguration
-
TopicConfiguration
-
-
Method Details
-
getTopicARN
Returns the topic arn for this notification configuration. -
setTopicARN
Sets the topic ARN for this configuration- Parameters:
topicARN- ARN for the SNS topic
-
withTopicARN
Fluent method to set the topic ARN for this configuration- Parameters:
topicARN- ARN for the SNS topic- Returns:
- This object for method chaining
-