@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getSuppressedReasons()
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
int |
hashCode() |
void |
setSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
String |
toString()
Returns a string representation of this object.
|
PutAccountSuppressionAttributesRequest |
withSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
PutAccountSuppressionAttributesRequest |
withSuppressedReasons(String... suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
PutAccountSuppressionAttributesRequest |
withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list that contains the reasons that email addresses will be automatically 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, withSdkRequestTimeout
public PutAccountSuppressionAttributesRequest()
public List<String> getSuppressedReasons()
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a hard bounce.
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a hard bounce.
SuppressionListReason
public void setSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a hard bounce.
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list
for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a hard bounce.
SuppressionListReason
public PutAccountSuppressionAttributesRequest withSuppressedReasons(String... suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a hard bounce.
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 that contains the reasons that email addresses will be automatically added to the suppression list
for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a hard bounce.
SuppressionListReason
public PutAccountSuppressionAttributesRequest withSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a hard bounce.
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list
for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a hard bounce.
SuppressionListReason
public PutAccountSuppressionAttributesRequest withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message
sent to that address results in a hard bounce.
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list
for your account. This list can contain any or all of the following:
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a complaint.
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a
message sent to that address results in a hard bounce.
SuppressionListReason
public String toString()
toString
in class Object
Object.toString()
public PutAccountSuppressionAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()