Interface BounceAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BounceAction.Builder,,BounceAction> SdkBuilder<BounceAction.Builder,,BounceAction> SdkPojo
- Enclosing class:
BounceAction
-
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.diagnosticMessage(String diagnosticMessage) The diagnostic message included in the Diagnostic-Code header of the bounce.The human-readable text to include in the bounce message.The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.The sender email address of the bounce message.smtpReplyCode(String smtpReplyCode) The SMTP reply code for the bounce, as defined by RFC 5321.statusCode(String statusCode) The enhanced status code for the bounce, in the format of x.y.z (e.g.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 caller does not have the permissions to call the SendBounce 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 SendBounce API.- 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 caller does not have the permissions to call the SendBounce 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 SendBounce API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sender
The sender email address of the bounce message.
- Parameters:
sender- The sender email address of the bounce message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).
- Parameters:
statusCode- The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smtpReplyCode
The SMTP reply code for the bounce, as defined by RFC 5321.
- Parameters:
smtpReplyCode- The SMTP reply code for the bounce, as defined by RFC 5321.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
diagnosticMessage
The diagnostic message included in the Diagnostic-Code header of the bounce.
- Parameters:
diagnosticMessage- The diagnostic message included in the Diagnostic-Code header of the bounce.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The human-readable text to include in the bounce message.
- Parameters:
message- The human-readable text to include in the bounce message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-