public class TopicConfiguration extends NotificationConfiguration
Constructor and Description |
---|
TopicConfiguration(String topicARN,
EnumSet<S3Event> events)
Creates a new topic configuration with the given topic arn and set of
events.
|
TopicConfiguration(String topicARN,
String... events)
Creates a new topic configuration with the given topic arn and set of
events.
|
Modifier and Type | Method and Description |
---|---|
String |
getTopicARN()
Returns the topic arn for this notification configuration.
|
addEvent, addEvent, addObjectPrefix, getEvents, getObjectPrefixes, setEvents, setObjectPrefixes, withEvents, withObjectPrefixes
public TopicConfiguration(String topicARN, EnumSet<S3Event> events)
topicARN
- the Amazon SNS topic arn to which the notifications are to be
sent.events
- the events for which the notifications are to be sentpublic TopicConfiguration(String topicARN, String... events)
topicARN
- the Amazon SNS topic arn to which the notifications are to be
sent.events
- the events for which the notifications are to be sentpublic String getTopicARN()
Copyright © 2015. All rights reserved.