Interface DeliverToMailboxAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction>,SdkBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction>,SdkPojo
- Enclosing class:
- DeliverToMailboxAction
public static interface DeliverToMailboxAction.Builder extends SdkPojo, CopyableBuilder<DeliverToMailboxAction.Builder,DeliverToMailboxAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeliverToMailboxAction.BuilderactionFailurePolicy(String actionFailurePolicy)A policy that states what to do in the case of failure.DeliverToMailboxAction.BuilderactionFailurePolicy(ActionFailurePolicy actionFailurePolicy)A policy that states what to do in the case of failure.DeliverToMailboxAction.BuildermailboxArn(String mailboxArn)The Amazon Resource Name (ARN) of a WorkMail organization to deliver the email to.DeliverToMailboxAction.BuilderroleArn(String roleArn)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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
actionFailurePolicy
DeliverToMailboxAction.Builder actionFailurePolicy(String 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,ActionFailurePolicy
-
actionFailurePolicy
DeliverToMailboxAction.Builder actionFailurePolicy(ActionFailurePolicy 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,ActionFailurePolicy
-
mailboxArn
DeliverToMailboxAction.Builder mailboxArn(String 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
DeliverToMailboxAction.Builder roleArn(String 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.
-
-