Class Bounce.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.Bounce.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Bounce>
- Enclosing class:
Bounce
@Stability(Stable)
public static final class Bounce.Builder
extends Object
implements software.amazon.jsii.Builder<Bounce>
A fluent builder for
Bounce
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Bounce.Builder
create()
The email address of the sender of the bounced email.template
(BounceTemplate template) The template containing the message, reply code and status code.The SNS topic to notify when the bounce action is taken.
-
Method Details
-
create
- Returns:
- a new instance of
Bounce.Builder
.
-
sender
The email address of the sender of the bounced email.This is the address from which the bounce message will be sent.
- Parameters:
sender
- The email address of the sender of the bounced email. This parameter is required.- Returns:
this
-
template
The template containing the message, reply code and status code.- Parameters:
template
- The template containing the message, reply code and status code. This parameter is required.- Returns:
this
-
topic
The SNS topic to notify when the bounce action is taken.Default: no notification
- Parameters:
topic
- The SNS topic to notify when the bounce action is taken. This parameter is required.- Returns:
this
-
build
-