Interface BounceAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BounceAction.Builder,BounceAction>,SdkBuilder<BounceAction.Builder,BounceAction>,SdkPojo
- Enclosing class:
- BounceAction
public static interface BounceAction.Builder extends SdkPojo, CopyableBuilder<BounceAction.Builder,BounceAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BounceAction.Buildermessage(String message)Human-readable text to include in the bounce message.BounceAction.Buildersender(String sender)The email address of the sender of the bounced email.BounceAction.BuildersmtpReplyCode(String smtpReplyCode)The SMTP reply code, as defined by RFC 5321.BounceAction.BuilderstatusCode(String statusCode)The SMTP enhanced status code, as defined by RFC 3463.BounceAction.BuildertopicArn(String topicArn)The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
topicArn
BounceAction.Builder topicArn(String topicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
- Parameters:
topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
smtpReplyCode
BounceAction.Builder smtpReplyCode(String smtpReplyCode)
The SMTP reply code, as defined by RFC 5321.
- Parameters:
smtpReplyCode- The SMTP reply code, as defined by RFC 5321.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
BounceAction.Builder statusCode(String statusCode)
The SMTP enhanced status code, as defined by RFC 3463.
- Parameters:
statusCode- The SMTP enhanced status code, as defined by RFC 3463.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
BounceAction.Builder message(String message)
Human-readable text to include in the bounce message.
- Parameters:
message- Human-readable text to include in the bounce message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sender
BounceAction.Builder sender(String sender)
The email address of the sender of the bounced email. This is the address from which the bounce message is sent.
- Parameters:
sender- The email address of the sender of the bounced email. This is the address from which the bounce message is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-