public class TopicConfiguration extends NotificationConfiguration
Constructor and Description |
---|
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, addObjectPrefix, getEvents, getObjectPrefixes, setEvents, setObjectPrefixes, withEvents, withObjectPrefixes
public 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 © 2010–2016. All rights reserved.