Interface SuppressionAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SuppressionAttributes.Builder,,SuppressionAttributes> SdkBuilder<SuppressionAttributes.Builder,,SuppressionAttributes> SdkPojo
- Enclosing class:
SuppressionAttributes
-
Method Summary
Modifier and TypeMethodDescriptionsuppressedReasons(Collection<SuppressionListReason> suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.suppressedReasons(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.suppressedReasonsWithStrings(String... suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.suppressedReasonsWithStrings(Collection<String> suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.default SuppressionAttributes.BuildervalidationAttributes(Consumer<SuppressionValidationAttributes.Builder> validationAttributes) Sets the value of the ValidationAttributes property for this object.validationAttributes(SuppressionValidationAttributes validationAttributes) Sets the value of the ValidationAttributes property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
suppressedReasonsWithStrings
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasonsWithStrings
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasons
SuppressionAttributes.Builder suppressedReasons(Collection<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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
validationAttributes
SuppressionAttributes.Builder validationAttributes(SuppressionValidationAttributes validationAttributes) Sets the value of the ValidationAttributes property for this object.- Parameters:
validationAttributes- The new value for the ValidationAttributes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationAttributes
default SuppressionAttributes.Builder validationAttributes(Consumer<SuppressionValidationAttributes.Builder> validationAttributes) Sets the value of the ValidationAttributes property for this object. This is a convenience method that creates an instance of theSuppressionValidationAttributes.Builderavoiding the need to create one manually viaSuppressionValidationAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationAttributes(SuppressionValidationAttributes).- Parameters:
validationAttributes- a consumer that will call methods onSuppressionValidationAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-