Interface PutConfigurationSetSuppressionOptionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutConfigurationSetSuppressionOptionsRequest.Builder,PutConfigurationSetSuppressionOptionsRequest>,SdkBuilder<PutConfigurationSetSuppressionOptionsRequest.Builder,PutConfigurationSetSuppressionOptionsRequest>,SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
- PutConfigurationSetSuppressionOptionsRequest
@Mutable @NotThreadSafe public static interface PutConfigurationSetSuppressionOptionsRequest.Builder extends SesV2Request.Builder, SdkPojo, CopyableBuilder<PutConfigurationSetSuppressionOptionsRequest.Builder,PutConfigurationSetSuppressionOptionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutConfigurationSetSuppressionOptionsRequest.BuilderconfigurationSetName(String configurationSetName)The name of the configuration set to change the suppression list preferences for.PutConfigurationSetSuppressionOptionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutConfigurationSetSuppressionOptionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutConfigurationSetSuppressionOptionsRequest.BuildersuppressedReasons(Collection<SuppressionListReason> suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.PutConfigurationSetSuppressionOptionsRequest.BuildersuppressedReasons(SuppressionListReason... suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.PutConfigurationSetSuppressionOptionsRequest.BuildersuppressedReasonsWithStrings(String... suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.PutConfigurationSetSuppressionOptionsRequest.BuildersuppressedReasonsWithStrings(Collection<String> suppressedReasons)A list that contains the reasons that email addresses are automatically added to the suppression list for your account.default PutConfigurationSetSuppressionOptionsRequest.BuildervalidationOptions(Consumer<SuppressionValidationOptions.Builder> validationOptions)An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.PutConfigurationSetSuppressionOptionsRequest.BuildervalidationOptions(SuppressionValidationOptions validationOptions)An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
-
-
-
Method Detail
-
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.
-
-
validationOptions
PutConfigurationSetSuppressionOptionsRequest.Builder validationOptions(SuppressionValidationOptions validationOptions)
An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.
- Parameters:
validationOptions- An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationOptions
default PutConfigurationSetSuppressionOptionsRequest.Builder validationOptions(Consumer<SuppressionValidationOptions.Builder> validationOptions)
An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.
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)
-
overrideConfiguration
PutConfigurationSetSuppressionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutConfigurationSetSuppressionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-