Class CfnConfigurationSet.SuppressionOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnConfigurationSet.SuppressionOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSet.SuppressionOptionsProperty>
- Enclosing interface:
- CfnConfigurationSet.SuppressionOptionsProperty
@Stability(Stable)
public static final class CfnConfigurationSet.SuppressionOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSet.SuppressionOptionsProperty>
A builder for
CfnConfigurationSet.SuppressionOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.suppressedReasons
(List<String> suppressedReasons) Sets the value ofCfnConfigurationSet.SuppressionOptionsProperty.getSuppressedReasons()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
suppressedReasons
@Stability(Stable) public CfnConfigurationSet.SuppressionOptionsProperty.Builder suppressedReasons(List<String> suppressedReasons) Sets the value ofCfnConfigurationSet.SuppressionOptionsProperty.getSuppressedReasons()
- 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSet.SuppressionOptionsProperty>
- Returns:
- a new instance of
CfnConfigurationSet.SuppressionOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-