@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuppressionAttributes extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information about the email address suppression preferences for your account in the current Amazon Web Services Region.
| Constructor and Description |
|---|
SuppressionAttributes() |
| Modifier and Type | Method and Description |
|---|---|
SuppressionAttributes |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
SuppressionAttributes |
withSuppressedReasons(Collection<String> suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
SuppressionAttributes |
withSuppressedReasons(String... suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
SuppressionAttributes |
withSuppressedReasons(SuppressionListReason... suppressedReasons)
A list that contains the reasons that email addresses will be automatically added to the suppression list for
your account.
|
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.
SuppressionListReasonpublic 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.
SuppressionListReasonpublic SuppressionAttributes 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.
SuppressionListReasonpublic SuppressionAttributes 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.
SuppressionListReasonpublic SuppressionAttributes 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.
SuppressionListReasonpublic String toString()
toString in class ObjectObject.toString()public SuppressionAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.