@Generated(value="software.amazon.awssdk:codegen") public final class TopicConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TopicConfiguration.Builder,TopicConfiguration>
A container for specifying the configuration for publication of messages to an Amazon Simple Notification Service (Amazon SNS) topic.when Amazon S3 detects specified events.
Modifier and Type | Class and Description |
---|---|
static interface |
TopicConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static TopicConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
List<Event> |
events()
Returns the value of the Events property for this object.
|
List<String> |
eventsAsStrings()
Returns the value of the Events property for this object.
|
NotificationConfigurationFilter |
filter()
Returns the value of the Filter property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
Returns the value of the Id property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TopicConfiguration.Builder> |
serializableBuilderClass() |
TopicConfiguration.Builder |
toBuilder() |
String |
topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 will publish a message when it detects
events of the specified type.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String id()
public String topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to which Amazon S3 will publish a message when it detects events of the specified type.
public List<Event> events()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> eventsAsStrings()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public NotificationConfigurationFilter filter()
public TopicConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TopicConfiguration.Builder,TopicConfiguration>
public static TopicConfiguration.Builder builder()
public static Class<? extends TopicConfiguration.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.