@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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()
.
SuppressionListReason
public 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()
.
SuppressionListReason
public PutSuppressedDestinationRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<PutSuppressedDestinationRequest.Builder,PutSuppressedDestinationRequest>
toBuilder
in class SesV2Request
public static PutSuppressedDestinationRequest.Builder builder()
public static Class<? extends PutSuppressedDestinationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.