Class CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty>
- Enclosing interface:
CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty
@Stability(Stable)
public static final class CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) build()Builds the configured instance.mailboxArn(String mailboxArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actionFailurePolicy
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.Builder actionFailurePolicy(String actionFailurePolicy) Sets the value ofCfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.getActionFailurePolicy()- 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 mailbox ARN is no longer valid.- Returns:
this
-
mailboxArn
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.Builder mailboxArn(String mailboxArn) - Parameters:
mailboxArn- The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.- Returns:
this
-
roleArn
@Stability(Stable) public CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The Amazon Resource Name (ARN) of an IAM role to use to execute this action. The role must have access to the workmail:DeliverToMailbox API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty>- Returns:
- a new instance of
CfnMailManagerRuleSetPropsMixin.DeliverToMailboxActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-