Interface PutConfigurationSetSuppressionOptionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutConfigurationSetSuppressionOptionsRequest.Builder,,PutConfigurationSetSuppressionOptionsRequest> SdkBuilder<PutConfigurationSetSuppressionOptionsRequest.Builder,,PutConfigurationSetSuppressionOptionsRequest> SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
PutConfigurationSetSuppressionOptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSetName(String configurationSetName) The name of the configuration set to change the suppression list preferences for.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.suppressedReasons(Collection<SuppressionListReason> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account.suppressedReasons(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account.suppressedReasonsWithStrings(String... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account.suppressedReasonsWithStrings(Collection<String> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for your account.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
Method Details
-
configurationSetName
PutConfigurationSetSuppressionOptionsRequest.Builder configurationSetName(String configurationSetName) The name of the configuration set to change the suppression list preferences for.
- Parameters:
configurationSetName- The name of the configuration set to change the suppression list preferences for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedReasonsWithStrings
PutConfigurationSetSuppressionOptionsRequest.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
PutConfigurationSetSuppressionOptionsRequest.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
PutConfigurationSetSuppressionOptionsRequest.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
PutConfigurationSetSuppressionOptionsRequest.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.
-
-
overrideConfiguration
PutConfigurationSetSuppressionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutConfigurationSetSuppressionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-