@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutSuppressedDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to suppress an email destination.
NOOP| Constructor and Description |
|---|
PutSuppressedDestinationRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutSuppressedDestinationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getEmailAddress()
Email destination to be suppressed.
|
String |
getReason()
Reason for which the email destination is suppressed.
|
int |
hashCode() |
void |
setEmailAddress(String emailAddress)
Email destination to be suppressed.
|
void |
setReason(String reason)
Reason for which the email destination is suppressed.
|
String |
toString()
Returns a string representation of this object.
|
PutSuppressedDestinationRequest |
withEmailAddress(String emailAddress)
Email destination to be suppressed.
|
PutSuppressedDestinationRequest |
withReason(String reason)
Reason for which the email destination is suppressed.
|
PutSuppressedDestinationRequest |
withReason(SuppressionListReason reason)
Reason for which the email destination is suppressed.
|
addHandlerContext, copyBaseTo, 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)
Email destination to be suppressed.
emailAddress - Email destination to be suppressed.public String getEmailAddress()
Email destination to be suppressed.
public PutSuppressedDestinationRequest withEmailAddress(String emailAddress)
Email destination to be suppressed.
emailAddress - Email destination to be suppressed.public void setReason(String reason)
Reason for which the email destination is suppressed.
reason - Reason for which the email destination is suppressed.SuppressionListReasonpublic String getReason()
Reason for which the email destination is suppressed.
SuppressionListReasonpublic PutSuppressedDestinationRequest withReason(String reason)
Reason for which the email destination is suppressed.
reason - Reason for which the email destination is suppressed.SuppressionListReasonpublic PutSuppressedDestinationRequest withReason(SuppressionListReason reason)
Reason for which the email destination is suppressed.
reason - Reason for which the email destination is suppressed.SuppressionListReasonpublic String toString()
toString in class ObjectObject.toString()public PutSuppressedDestinationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.