@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) |
boolean |
equalsBySdkFields(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() |
String |
topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<SnsDestination.Builder,SnsDestination>public static SnsDestination.Builder builder()
public static Class<? extends SnsDestination.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.