Class CfnMailManagerRuleSetPropsMixin.SendActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin.SendActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.SendActionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.SendActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.SendActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.SendActionProperty>
A builder for
CfnMailManagerRuleSetPropsMixin.SendActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) build()Builds the configured instance.Sets the value ofCfnMailManagerRuleSetPropsMixin.SendActionProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.SendActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) - Parameters:
actionFailurePolicy- A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the sendRawEmail API.- Returns:
this
-
roleArn
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.SendActionProperty.Builder roleArn(String roleArn) Sets the value ofCfnMailManagerRuleSetPropsMixin.SendActionProperty.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.SendActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.SendActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-