@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuppressionOptions extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information about your account's suppression preferences.
| Constructor and Description |
|---|
SuppressionOptions() |
| Modifier and Type | Method and Description |
|---|---|
SuppressionOptions |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSuppressedReasons()
A list of reasons to suppress email addresses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses.
|
String |
toString()
Returns a string representation of this object.
|
SuppressionOptions |
withSuppressedReasons(Collection<String> suppressedReasons)
A list of reasons to suppress email addresses.
|
SuppressionOptions |
withSuppressedReasons(String... suppressedReasons)
A list of reasons to suppress email addresses.
|
SuppressionOptions |
withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list of reasons to suppress email addresses.
|
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 SuppressionOptions 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 SuppressionOptions 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 SuppressionOptions 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 SuppressionOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.