Class SuppressedDestination
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.SuppressedDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SuppressedDestination.Builder,SuppressedDestination>
@Generated("software.amazon.awssdk:codegen") public final class SuppressedDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SuppressedDestination.Builder,SuppressedDestination>
An object that contains information about an email address that is on the suppression list for your account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSuppressedDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SuppressedDestinationAttributesattributes()An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.static SuppressedDestination.Builderbuilder()StringemailAddress()The email address that is on the suppression list for your account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdateTime()The date and time when the suppressed destination was last updated, shown in Unix time format.SuppressionListReasonreason()The reason that the address was added to the suppression list for your account.StringreasonAsString()The reason that the address was added to the suppression list for your account.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SuppressedDestination.Builder>serializableBuilderClass()SuppressedDestination.BuildertoBuilder()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
-
emailAddress
public final String emailAddress()
The email address that is on the suppression list for your account.
- Returns:
- The email address that is on the suppression list for your account.
-
reason
public final SuppressionListReason reason()
The reason that the address was added to the suppression list for your account.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSuppressionListReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason that the address was added to the suppression list for your account.
- See Also:
SuppressionListReason
-
reasonAsString
public final String reasonAsString()
The reason that the address was added to the suppression list for your account.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnSuppressionListReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- The reason that the address was added to the suppression list for your account.
- See Also:
SuppressionListReason
-
lastUpdateTime
public final Instant lastUpdateTime()
The date and time when the suppressed destination was last updated, shown in Unix time format.
- Returns:
- The date and time when the suppressed destination was last updated, shown in Unix time format.
-
attributes
public final SuppressedDestinationAttributes attributes()
An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
- Returns:
- An optional value that can contain additional information about the reasons that the address was added to the suppression list for your account.
-
toBuilder
public SuppressedDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SuppressedDestination.Builder,SuppressedDestination>
-
builder
public static SuppressedDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends SuppressedDestination.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-