@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAccountSuppressionAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to change your account's suppression preferences.
NOOP| Constructor and Description |
|---|
PutAccountSuppressionAttributesRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutAccountSuppressionAttributesRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSuppressedReasons()
A list of reasons to suppress email addresses.
|
int |
hashCode() |
void |
setSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses.
|
String |
toString()
Returns a string representation of this object.
|
PutAccountSuppressionAttributesRequest |
withSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses.
|
PutAccountSuppressionAttributesRequest |
withSuppressedReasons(String... suppressedReasons)
A list of reasons to suppress email addresses.
|
PutAccountSuppressionAttributesRequest |
withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list of reasons to suppress email addresses.
|
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 PutAccountSuppressionAttributesRequest()
public List<String> getSuppressedReasons()
A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
SuppressionListReasonpublic void setSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
suppressedReasons - A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
SuppressionListReasonpublic PutAccountSuppressionAttributesRequest withSuppressedReasons(String... suppressedReasons)
A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
NOTE: This method appends the values to the existing list (if any). Use
setSuppressedReasons(java.util.Collection) or withSuppressedReasons(java.util.Collection) if
you want to override the existing values.
suppressedReasons - A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
SuppressionListReasonpublic PutAccountSuppressionAttributesRequest withSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
suppressedReasons - A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
SuppressionListReasonpublic PutAccountSuppressionAttributesRequest withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
suppressedReasons - A list of reasons to suppress email addresses. The only valid reasons are:
COMPLAINT – Amazon SES will suppress an email address that receives a complaint.
BOUNCE – Amazon SES will suppress an email address that hard bounces.
SuppressionListReasonpublic String toString()
toString in class ObjectObject.toString()public PutAccountSuppressionAttributesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.