Interface SuppressionAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuppressionAttributes.Builder,SuppressionAttributes>,SdkBuilder<SuppressionAttributes.Builder,SuppressionAttributes>,SdkPojo
- Enclosing class:
- SuppressionAttributes
@Mutable @NotThreadSafe public static interface SuppressionAttributes.Builder extends SdkPojo, CopyableBuilder<SuppressionAttributes.Builder,SuppressionAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SuppressionAttributes.BuildersuppressedReasons(Collection<SuppressionListReason> suppressedReasons)A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.SuppressionAttributes.BuildersuppressedReasons(SuppressionListReason... suppressedReasons)A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.SuppressionAttributes.BuildersuppressedReasonsWithStrings(String... suppressedReasons)A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.SuppressionAttributes.BuildersuppressedReasonsWithStrings(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.SuppressionAttributes.BuildervalidationAttributes(SuppressionValidationAttributes validationAttributes)Sets the value of the ValidationAttributes property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
suppressedReasonsWithStrings
SuppressionAttributes.Builder suppressedReasonsWithStrings(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.
- 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
SuppressionAttributes.Builder suppressedReasonsWithStrings(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.
- 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
SuppressionAttributes.Builder suppressedReasons(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.
-
-
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:
validationAttributes(SuppressionValidationAttributes)
-
-