Interface SuppressionOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SuppressionOptions.Builder,,SuppressionOptions> SdkBuilder<SuppressionOptions.Builder,,SuppressionOptions> SdkPojo
- Enclosing class:
SuppressionOptions
-
Method Summary
Modifier and TypeMethodDescriptionsuppressedReasons(Collection<SuppressionListReason> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account or for a specific tenant.suppressedReasons(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account or for a specific tenant.suppressedReasonsWithStrings(String... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account or for a specific tenant.suppressedReasonsWithStrings(Collection<String> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account or for a specific tenant.suppressionScope(String suppressionScope) The suppression scope for the configuration set.suppressionScope(SuppressionListScope suppressionScope) The suppression scope for the configuration set.default SuppressionOptions.BuildervalidationOptions(Consumer<SuppressionValidationOptions.Builder> validationOptions) Sets the value of the ValidationOptions property for this object.validationOptions(SuppressionValidationOptions validationOptions) Sets the value of the ValidationOptions 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 are automatically added to the suppression list for your account or for a specific tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 or for a specific tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 are automatically added to the suppression list for your account or for a specific tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 or for a specific tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 are automatically added to the suppression list for your account or for a specific tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 or for a specific tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 are automatically added to the suppression list for your account or for a specific tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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 or for a specific tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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.
-
-
suppressionScope
The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:
-
TENANT– Use the tenant's suppression list. -
ACCOUNT– Use the account-level suppression list.
- Parameters:
suppressionScope- The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:-
TENANT– Use the tenant's suppression list. -
ACCOUNT– Use the account-level suppression list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
suppressionScope
The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:
-
TENANT– Use the tenant's suppression list. -
ACCOUNT– Use the account-level suppression list.
- Parameters:
suppressionScope- The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:-
TENANT– Use the tenant's suppression list. -
ACCOUNT– Use the account-level suppression list.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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:
-