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 java.lang.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(java.lang.String topic, java.lang.String event)
           Creates a new BucketNotificationConfiguration.TopicConfiguration.
 
Method Summary
 java.lang.String getEvent()
           Gets the event that must occur for the notification to be published.
 java.lang.String getTopic()
           Gets the topic ARN (Amazon Resource Name) for the topic to publish events to.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BucketNotificationConfiguration.TopicConfiguration

public BucketNotificationConfiguration.TopicConfiguration(java.lang.String topic,
                                                          java.lang.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 java.lang.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 java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


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