@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutSuppressedDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to add an email destination to the suppression list for your account.
NOOP| Constructor and Description |
|---|
PutSuppressedDestinationRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutSuppressedDestinationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEmailAddress()
The email address that should be added to the suppression list for your account.
|
String |
getReason()
The factors that should cause the email address to be added to the suppression list for your account.
|
int |
hashCode() |
void |
setEmailAddress(String emailAddress)
The email address that should be added to the suppression list for your account.
|
void |
setReason(String reason)
The factors that should cause the email address to be added to the suppression list for your account.
|
String |
toString()
Returns a string representation of this object.
|
PutSuppressedDestinationRequest |
withEmailAddress(String emailAddress)
The email address that should be added to the suppression list for your account.
|
PutSuppressedDestinationRequest |
withReason(String reason)
The factors that should cause the email address to be added to the suppression list for your account.
|
PutSuppressedDestinationRequest |
withReason(SuppressionListReason reason)
The factors that should cause the email address to be added to the suppression list for your account.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setEmailAddress(String emailAddress)
The email address that should be added to the suppression list for your account.
emailAddress - The email address that should be added to the suppression list for your account.public String getEmailAddress()
The email address that should be added to the suppression list for your account.
public PutSuppressedDestinationRequest withEmailAddress(String emailAddress)
The email address that should be added to the suppression list for your account.
emailAddress - The email address that should be added to the suppression list for your account.public void setReason(String reason)
The factors that should cause the email address to be added to the suppression list for your account.
reason - The factors that should cause the email address to be added to the suppression list for your account.SuppressionListReasonpublic String getReason()
The factors that should cause the email address to be added to the suppression list for your account.
SuppressionListReasonpublic PutSuppressedDestinationRequest withReason(String reason)
The factors that should cause the email address to be added to the suppression list for your account.
reason - The factors that should cause the email address to be added to the suppression list for your account.SuppressionListReasonpublic PutSuppressedDestinationRequest withReason(SuppressionListReason reason)
The factors that should cause the email address to be added to the suppression list for your account.
reason - The factors that should cause the email address to be added to the suppression list for your account.SuppressionListReasonpublic String toString()
toString in class ObjectObject.toString()public PutSuppressedDestinationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()