@Stability(value=Stable) public static final class BounceProps.Builder extends Object implements software.amazon.jsii.Builder<BounceProps>
BounceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BounceProps |
build()
Builds the configured instance.
|
BounceProps.Builder |
sender(String sender)
Sets the value of
BounceProps.getSender() |
BounceProps.Builder |
template(BounceTemplate template)
Sets the value of
BounceProps.getTemplate() |
BounceProps.Builder |
topic(ITopic topic)
Sets the value of
BounceProps.getTopic() |
@Stability(value=Stable) public BounceProps.Builder sender(String sender)
BounceProps.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 will be sent.this@Stability(value=Stable) public BounceProps.Builder template(BounceTemplate template)
BounceProps.getTemplate()template - The template containing the message, reply code and status code. This parameter is required.this@Stability(value=Stable) public BounceProps.Builder topic(ITopic topic)
BounceProps.getTopic()topic - The SNS topic to notify when the bounce action is taken.this@Stability(value=Stable) public BounceProps build()
build in interface software.amazon.jsii.Builder<BounceProps>BouncePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.