Interface SendAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SendAction.Builder,SendAction>,SdkBuilder<SendAction.Builder,SendAction>,SdkPojo
- Enclosing class:
- SendAction
public static interface SendAction.Builder extends SdkPojo, CopyableBuilder<SendAction.Builder,SendAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SendAction.BuilderactionFailurePolicy(String actionFailurePolicy)A policy that states what to do in the case of failure.SendAction.BuilderactionFailurePolicy(ActionFailurePolicy actionFailurePolicy)A policy that states what to do in the case of failure.SendAction.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the role to use for 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
SendAction.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 caller does not have the permissions to call the sendRawEmail API.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionFailurePolicy,ActionFailurePolicy
-
actionFailurePolicy
SendAction.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 caller does not have the permissions to call the sendRawEmail API.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ActionFailurePolicy,ActionFailurePolicy
-
roleArn
SendAction.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to use for this action. This role must have access to the ses:SendRawEmail API.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
-