Class SnsDestination
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.SnsDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SnsDestination.Builder,SnsDestination>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnsDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnsDestination.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SnsDestination.Builder>serializableBuilderClass()SnsDestination.BuildertoBuilder()StringtopicArn()The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
topicArn
public final String topicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon SNS topic to publish email events to. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
-
toBuilder
public SnsDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SnsDestination.Builder,SnsDestination>
-
builder
public static SnsDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends SnsDestination.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-