@Stability(value=Stable) public static final class CfnReceiptRule.BounceActionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnReceiptRule.BounceActionProperty>
CfnReceiptRule.BounceActionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnReceiptRule.BounceActionProperty |
build()
Builds the configured instance.
|
CfnReceiptRule.BounceActionProperty.Builder |
message(String message)
Sets the value of
CfnReceiptRule.BounceActionProperty.getMessage() |
CfnReceiptRule.BounceActionProperty.Builder |
sender(String sender)
Sets the value of
CfnReceiptRule.BounceActionProperty.getSender() |
CfnReceiptRule.BounceActionProperty.Builder |
smtpReplyCode(String smtpReplyCode)
Sets the value of
CfnReceiptRule.BounceActionProperty.getSmtpReplyCode() |
CfnReceiptRule.BounceActionProperty.Builder |
statusCode(String statusCode)
Sets the value of
CfnReceiptRule.BounceActionProperty.getStatusCode() |
CfnReceiptRule.BounceActionProperty.Builder |
topicArn(String topicArn)
Sets the value of
CfnReceiptRule.BounceActionProperty.getTopicArn() |
@Stability(value=Stable) public CfnReceiptRule.BounceActionProperty.Builder message(String message)
CfnReceiptRule.BounceActionProperty.getMessage()message - Human-readable text to include in the bounce message. This parameter is required.this@Stability(value=Stable) public CfnReceiptRule.BounceActionProperty.Builder sender(String sender)
CfnReceiptRule.BounceActionProperty.getSender()sender - The email address of the sender of the bounced email. This parameter is required.
This is the address from which the bounce message is sent.this@Stability(value=Stable) public CfnReceiptRule.BounceActionProperty.Builder smtpReplyCode(String smtpReplyCode)
CfnReceiptRule.BounceActionProperty.getSmtpReplyCode()smtpReplyCode - The SMTP reply code, as defined by [RFC 5321](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc5321) . This parameter is required.this@Stability(value=Stable) public CfnReceiptRule.BounceActionProperty.Builder statusCode(String statusCode)
CfnReceiptRule.BounceActionProperty.getStatusCode()statusCode - The SMTP enhanced status code, as defined by [RFC 3463](https://docs.aws.amazon.com/https://tools.ietf.org/html/rfc3463) .this@Stability(value=Stable) public CfnReceiptRule.BounceActionProperty.Builder topicArn(String topicArn)
CfnReceiptRule.BounceActionProperty.getTopicArn()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 .
this@Stability(value=Stable) public CfnReceiptRule.BounceActionProperty build()
build in interface software.amazon.jsii.Builder<CfnReceiptRule.BounceActionProperty>CfnReceiptRule.BounceActionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.