Interface SuppressionOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuppressionOptions.Builder,SuppressionOptions>,SdkBuilder<SuppressionOptions.Builder,SuppressionOptions>,SdkPojo
- Enclosing class:
- SuppressionOptions
@Mutable @NotThreadSafe public static interface SuppressionOptions.Builder extends SdkPojo, CopyableBuilder<SuppressionOptions.Builder,SuppressionOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SuppressionOptions.BuildersuppressedReasons(Collection<SuppressionListReason> suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.SuppressionOptions.BuildersuppressedReasons(SuppressionListReason... suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.SuppressionOptions.BuildersuppressedReasonsWithStrings(String... suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.SuppressionOptions.BuildersuppressedReasonsWithStrings(Collection<String> suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.default SuppressionOptions.BuildervalidationOptions(Consumer<SuppressionValidationOptions.Builder> validationOptions)Sets the value of the ValidationOptions property for this object.SuppressionOptions.BuildervalidationOptions(SuppressionValidationOptions validationOptions)Sets the value of the ValidationOptions 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
SuppressionOptions.Builder suppressedReasonsWithStrings(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasonsWithStrings
SuppressionOptions.Builder suppressedReasonsWithStrings(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasons
SuppressionOptions.Builder suppressedReasons(Collection<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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasons
SuppressionOptions.Builder suppressedReasons(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
validationOptions
SuppressionOptions.Builder validationOptions(SuppressionValidationOptions validationOptions)
Sets the value of the ValidationOptions property for this object.- Parameters:
validationOptions- The new value for the ValidationOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationOptions
default SuppressionOptions.Builder validationOptions(Consumer<SuppressionValidationOptions.Builder> validationOptions)
Sets the value of the ValidationOptions property for this object. This is a convenience method that creates an instance of theSuppressionValidationOptions.Builderavoiding the need to create one manually viaSuppressionValidationOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationOptions(SuppressionValidationOptions).- Parameters:
validationOptions- a consumer that will call methods onSuppressionValidationOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
validationOptions(SuppressionValidationOptions)
-
-