@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutConfigurationSetSuppressionOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to change the account suppression list preferences for a specific configuration set.
NOOP
Constructor and Description |
---|
PutConfigurationSetSuppressionOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
PutConfigurationSetSuppressionOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getConfigurationSetName()
The name of the configuration set to change the suppression list preferences for.
|
List<String> |
getSuppressedReasons()
A list that contains the reasons that email addresses are automatically added to the suppression list for your
account.
|
int |
hashCode() |
void |
setConfigurationSetName(String configurationSetName)
The name of the configuration set to change the suppression list preferences for.
|
void |
setSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses are automatically added to the suppression list for your
account.
|
String |
toString()
Returns a string representation of this object.
|
PutConfigurationSetSuppressionOptionsRequest |
withConfigurationSetName(String configurationSetName)
The name of the configuration set to change the suppression list preferences for.
|
PutConfigurationSetSuppressionOptionsRequest |
withSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses are automatically added to the suppression list for your
account.
|
PutConfigurationSetSuppressionOptionsRequest |
withSuppressedReasons(String... suppressedReasons)
A list that contains the reasons that email addresses are automatically added to the suppression list for your
account.
|
PutConfigurationSetSuppressionOptionsRequest |
withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list that contains the reasons that email addresses are 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 PutConfigurationSetSuppressionOptionsRequest()
public void setConfigurationSetName(String configurationSetName)
The name of the configuration set to change the suppression list preferences for.
configurationSetName
- The name of the configuration set to change the suppression list preferences for.public String getConfigurationSetName()
The name of the configuration set to change the suppression list preferences for.
public PutConfigurationSetSuppressionOptionsRequest withConfigurationSetName(String configurationSetName)
The name of the configuration set to change the suppression list preferences for.
configurationSetName
- The name of the configuration set to change the suppression list preferences for.public List<String> getSuppressedReasons()
A list that contains the reasons that email addresses are 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 are 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 are 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 PutConfigurationSetSuppressionOptionsRequest withSuppressedReasons(String... suppressedReasons)
A list that contains the reasons that email addresses are 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 are 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 PutConfigurationSetSuppressionOptionsRequest withSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses are 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 are 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 PutConfigurationSetSuppressionOptionsRequest withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list that contains the reasons that email addresses are 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 are 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 PutConfigurationSetSuppressionOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()