com.amazonaws.services.s3.model
Class BucketNotificationConfiguration.TopicConfiguration
java.lang.Object
com.amazonaws.services.s3.model.BucketNotificationConfiguration.TopicConfiguration
- Enclosing class:
- BucketNotificationConfiguration
public static class BucketNotificationConfiguration.TopicConfiguration
- extends Object
Represents the SNS Topic to publish event notification to. Will publish notifications to the topic
only if the specified event is triggered.
BucketNotificationConfiguration.TopicConfiguration
public BucketNotificationConfiguration.TopicConfiguration(String topic,
String event)
- Parameters:
topic - The SNS Topic ARN to publish notifications to.event - The event that if it happens triggers the notification publication.
getTopic
public String getTopic()
- Returns:
- The topic ARN for the topic to publish events to.
getEvent
public String getEvent()
- Returns:
- The event that must occur for the notification top be published.
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.