@Generated(value="software.amazon.awssdk:codegen") public final class SnsDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SnsDestination.Builder,SnsDestination>
An object that defines an Amazon SNS destination for email events. You can use Amazon SNS to send notification when certain email events occur.
Modifier and Type | Class and Description |
---|---|
static interface |
SnsDestination.Builder |
Modifier and Type | Method and Description |
---|---|
static SnsDestination.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SnsDestination.Builder> |
serializableBuilderClass() |
SnsDestination.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to.
|
String |
toString() |
copy
public String topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
public SnsDestination.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SnsDestination.Builder,SnsDestination>
public static SnsDestination.Builder builder()
public static Class<? extends SnsDestination.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.