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