@Stability(value=Experimental) public static final class BounceActionConfig.Builder extends Object implements software.amazon.jsii.Builder<BounceActionConfig>
BounceActionConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BounceActionConfig |
build()
Builds the configured instance.
|
BounceActionConfig.Builder |
message(String message)
Sets the value of
BounceActionConfig.getMessage() |
BounceActionConfig.Builder |
sender(String sender)
Sets the value of
BounceActionConfig.getSender() |
BounceActionConfig.Builder |
smtpReplyCode(String smtpReplyCode)
Sets the value of
BounceActionConfig.getSmtpReplyCode() |
BounceActionConfig.Builder |
statusCode(String statusCode)
Sets the value of
BounceActionConfig.getStatusCode() |
BounceActionConfig.Builder |
topicArn(String topicArn)
Sets the value of
BounceActionConfig.getTopicArn() |
@Stability(value=Experimental) public BounceActionConfig.Builder message(String message)
BounceActionConfig.getMessage()message - Human-readable text to include in the bounce message. This parameter is required.this@Stability(value=Experimental) public BounceActionConfig.Builder sender(String sender)
BounceActionConfig.getSender()sender - The email address of the sender of the bounced email. This parameter is required.
This is the address that the bounce message is sent from.this@Stability(value=Experimental) public BounceActionConfig.Builder smtpReplyCode(String smtpReplyCode)
BounceActionConfig.getSmtpReplyCode()smtpReplyCode - The SMTP reply code, as defined by RFC 5321. This parameter is required.this@Stability(value=Experimental) public BounceActionConfig.Builder statusCode(String statusCode)
BounceActionConfig.getStatusCode()statusCode - The SMTP enhanced status code, as defined by RFC 3463.this@Stability(value=Experimental) public BounceActionConfig.Builder topicArn(String topicArn)
BounceActionConfig.getTopicArn()topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken.this@Stability(value=Experimental) public BounceActionConfig build()
build in interface software.amazon.jsii.Builder<BounceActionConfig>BounceActionConfigNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.