Interface DeliverToMailboxAction.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<DeliverToMailboxAction.Builder,,DeliverToMailboxAction> SdkBuilder<DeliverToMailboxAction.Builder,,DeliverToMailboxAction> SdkPojo
- Enclosing class:
 DeliverToMailboxAction
@Mutable
@NotThreadSafe
public static interface DeliverToMailboxAction.Builder
extends SdkPojo, CopyableBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction> 
- 
Method Summary
Modifier and TypeMethodDescriptionactionFailurePolicy(String actionFailurePolicy) A policy that states what to do in the case of failure.actionFailurePolicy(ActionFailurePolicy actionFailurePolicy) A policy that states what to do in the case of failure.mailboxArn(String mailboxArn) The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.The Amazon Resource Name (ARN) of an IAM role to use to execute this action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
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.
- 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:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
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.
- 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:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
mailboxArn
The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.
- Parameters:
 mailboxArn- The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.
- 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:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -