Class CfnMailManagerRuleSet.SnsActionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnMailManagerRuleSet.SnsActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSet.SnsActionProperty>
- Enclosing interface:
CfnMailManagerRuleSet.SnsActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSet.SnsActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSet.SnsActionProperty>
A builder for
CfnMailManagerRuleSet.SnsActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getActionFailurePolicy()build()Builds the configured instance.Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getEncoding()payloadType(String payloadType) Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getPayloadType()Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getRoleArn()Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getRoleArn()- Parameters:
roleArn- the value to be set. This parameter is required.- Returns:
this
-
topicArn
Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getTopicArn()- Parameters:
topicArn- the value to be set. This parameter is required.- Returns:
this
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSet.SnsActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getActionFailurePolicy()- Parameters:
actionFailurePolicy- the value to be set.- Returns:
this
-
encoding
Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getEncoding()- Parameters:
encoding- the value to be set.- Returns:
this
-
payloadType
@Stability(Stable) public CfnMailManagerRuleSet.SnsActionProperty.Builder payloadType(String payloadType) Sets the value ofCfnMailManagerRuleSet.SnsActionProperty.getPayloadType()- Parameters:
payloadType- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSet.SnsActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSet.SnsActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-