@Generated(value="software.amazon.awssdk:codegen") public final class PutSuppressedDestinationRequest extends SesV2Request implements ToCopyableBuilder<PutSuppressedDestinationRequest.Builder,PutSuppressedDestinationRequest>
A request to add an email destination to the suppression list for your account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutSuppressedDestinationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutSuppressedDestinationRequest.Builder |
builder() |
String |
emailAddress()
The email address that should be added to 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() |
SuppressionListReason |
reason()
The factors that should cause the email address to be added to the suppression list for your account.
|
String |
reasonAsString()
The factors that should cause the email address to be added to the suppression list for your account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutSuppressedDestinationRequest.Builder> |
serializableBuilderClass() |
PutSuppressedDestinationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String emailAddress()
The email address that should be added to the suppression list for your account.
public final SuppressionListReason reason()
The factors that should cause the email address to be 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 factors that should cause the email address to be 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 PutSuppressedDestinationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutSuppressedDestinationRequest.Builder,PutSuppressedDestinationRequest>toBuilder in class SesV2Requestpublic static PutSuppressedDestinationRequest.Builder builder()
public static Class<? extends PutSuppressedDestinationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.