Class BucketNotificationConfiguration.TopicConfiguration

java.lang.Object
com.amazonaws.services.s3.model.NotificationConfiguration
com.amazonaws.services.s3.model.TopicConfiguration
com.amazonaws.services.s3.model.BucketNotificationConfiguration.TopicConfiguration
All Implemented Interfaces:
Serializable
Enclosing class:
BucketNotificationConfiguration

@Deprecated public static class BucketNotificationConfiguration.TopicConfiguration extends TopicConfiguration
Deprecated.
Use TopicConfiguration instead

Represents the SNS topic to publish event notification to. Notifications are published to the topic only if the specified event is triggered.

See Also:
  • Constructor Details

    • TopicConfiguration

      public TopicConfiguration(String topic, String event)
      Deprecated.
      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 Details

    • getTopic

      public String getTopic()
      Deprecated.

      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()
      Deprecated.

      Gets the first event that is configured in the list of events.

    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object