Class CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.BounceActionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.BounceActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.BounceActionProperty>
A builder for
CfnMailManagerRuleSetPropsMixin.BounceActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) build()Builds the configured instance.diagnosticMessage(String diagnosticMessage) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getMessage()Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getRoleArn()Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getSender()smtpReplyCode(String smtpReplyCode) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getSmtpReplyCode()statusCode(String statusCode) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getStatusCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) - Parameters:
actionFailurePolicy- the value to be set.- Returns:
this
-
diagnosticMessage
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder diagnosticMessage(String diagnosticMessage) - Parameters:
diagnosticMessage- the value to be set.- Returns:
this
-
message
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder message(String message) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getMessage()- Parameters:
message- the value to be set.- Returns:
this
-
roleArn
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder roleArn(String roleArn) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getRoleArn()- Parameters:
roleArn- the value to be set.- Returns:
this
-
sender
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder sender(String sender) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getSender()- Parameters:
sender- the value to be set.- Returns:
this
-
smtpReplyCode
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder smtpReplyCode(String smtpReplyCode) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getSmtpReplyCode()- Parameters:
smtpReplyCode- the value to be set.- Returns:
this
-
statusCode
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.BounceActionProperty.Builder statusCode(String statusCode) Sets the value ofCfnMailManagerRuleSetPropsMixin.BounceActionProperty.getStatusCode()- Parameters:
statusCode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.BounceActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.BounceActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-