@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutConfigurationSetSuppressionOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to change your account's suppression preferences for an specific configuration set.
NOOP| Constructor and Description |
|---|
PutConfigurationSetSuppressionOptionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutConfigurationSetSuppressionOptionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getConfigurationSetName()
The name of the configuration set that you want to enable or disable email sending for.
|
List<String> |
getSuppressedReasons()
A list of reasons to suppress email addresses.
|
int |
hashCode() |
void |
setConfigurationSetName(String configurationSetName)
The name of the configuration set that you want to enable or disable email sending for.
|
void |
setSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses.
|
String |
toString()
Returns a string representation of this object.
|
PutConfigurationSetSuppressionOptionsRequest |
withConfigurationSetName(String configurationSetName)
The name of the configuration set that you want to enable or disable email sending for.
|
PutConfigurationSetSuppressionOptionsRequest |
withSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses.
|
PutConfigurationSetSuppressionOptionsRequest |
withSuppressedReasons(String... suppressedReasons)
A list of reasons to suppress email addresses.
|
PutConfigurationSetSuppressionOptionsRequest |
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 PutConfigurationSetSuppressionOptionsRequest()
public void setConfigurationSetName(String configurationSetName)
The name of the configuration set that you want to enable or disable email sending for.
configurationSetName - The name of the configuration set that you want to enable or disable email sending for.public String getConfigurationSetName()
The name of the configuration set that you want to enable or disable email sending for.
public PutConfigurationSetSuppressionOptionsRequest withConfigurationSetName(String configurationSetName)
The name of the configuration set that you want to enable or disable email sending for.
configurationSetName - The name of the configuration set that you want to enable or disable email sending for.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 PutConfigurationSetSuppressionOptionsRequest 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 PutConfigurationSetSuppressionOptionsRequest 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 PutConfigurationSetSuppressionOptionsRequest 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 PutConfigurationSetSuppressionOptionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.