Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`BucketNotificationConfiguration.TopicConfiguration(String topic, String event)`

Method Summary
`String` | `getEvent()`
`String` | `getTopic()`
`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)

Parameters:
  `topic` - The SNS Topic ARN to publish notifications to.
  `event` - The event that if it happens triggers the notification publication.

Method Detail

### 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`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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