com.amazonaws.services.s3.model
Class BucketNotificationConfiguration.TopicConfiguration

java.lang.Object
  extended by 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. 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

BucketNotificationConfiguration.TopicConfiguration

public BucketNotificationConfiguration.TopicConfiguration(String topic,
                                                          String event)

Creates a new BucketNotificationConfiguration.TopicConfiguration.

Parameters:
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

getTopic

public String getTopic()

Gets the topic ARN (Amazon Resource Name) for the topic to publish events to.

Returns:
The topic ARN for the topic to publish events to.

getEvent

public String getEvent()

Gets the event that must occur for the notification to be published.

Returns:
The event that must occur for the notification to be published.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.