|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.BucketNotificationConfiguration.TopicConfiguration
public static class BucketNotificationConfiguration.TopicConfiguration
Represents the SNS topic to publish event notification to. Notifications are published to the topic only if the specified event is triggered.
Constructor Summary | |
---|---|
BucketNotificationConfiguration.TopicConfiguration(String topic,
String event)
Creates a new BucketNotificationConfiguration.TopicConfiguration . |
Method Summary | |
---|---|
String |
getEvent()
Gets the event that must occur for the notification to be published. |
String |
getTopic()
Gets the topic ARN (Amazon Resource Name) for the topic to publish events to. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BucketNotificationConfiguration.TopicConfiguration(String topic, String event)
Creates a new BucketNotificationConfiguration.TopicConfiguration
.
topic
- The SNS Topic ARN (Amazon Resource Name) to publish notifications to.event
- The event that must occur to trigger the notification publication.Method Detail |
---|
public String getTopic()
Gets the topic ARN (Amazon Resource Name) for the topic to publish events to.
public String getEvent()
Gets the event that must occur for the notification to be published.
public String toString()
toString
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |