@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SuppressedDestination.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
static SuppressedDestination.Builder |
builder() |
String |
emailAddress()
The email address that is on the suppression list for your account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdateTime()
The date and time when the suppressed destination was last updated, shown in Unix time format.
|
SuppressionListReason |
reason()
The reason that the address was added to the suppression list for your account.
|
String |
reasonAsString()
The reason that the address was added to the suppression list for your account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SuppressedDestination.Builder> |
serializableBuilderClass() |
SuppressedDestination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String emailAddress()
The email address that is on the suppression list for your account.
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, reason will
return SuppressionListReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reasonAsString().
SuppressionListReasonpublic 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, reason will
return SuppressionListReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from reasonAsString().
SuppressionListReasonpublic final Instant lastUpdateTime()
The date and time when the suppressed destination was last updated, shown in Unix time format.
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.
public SuppressedDestination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SuppressedDestination.Builder,SuppressedDestination>public static SuppressedDestination.Builder builder()
public static Class<? extends SuppressedDestination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.