Class BounceTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.BounceTemplate.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<BounceTemplate>
- Enclosing class:
 - BounceTemplate
 
@Stability(Stable)
public static final class BounceTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<BounceTemplate>
A fluent builder for 
BounceTemplate.- 
Method Summary
Modifier and TypeMethodDescriptionbuild()static BounceTemplate.Buildercreate()Human-readable text to include in the bounce message.smtpReplyCode(String smtpReplyCode) The SMTP reply code, as defined by RFC 5321.statusCode(String statusCode) The SMTP enhanced status code, as defined by RFC 3463. 
- 
Method Details
- 
create
- Returns:
 - a new instance of 
BounceTemplate.Builder. 
 - 
message
Human-readable text to include in the bounce message.- Parameters:
 message- Human-readable text to include in the bounce message. This parameter is required.- Returns:
 this
 - 
smtpReplyCode
The SMTP reply code, as defined by RFC 5321.- Parameters:
 smtpReplyCode- The SMTP reply code, as defined by RFC 5321. This parameter is required.- Returns:
 this- See Also:
 
 - 
statusCode
The SMTP enhanced status code, as defined by RFC 3463.- Parameters:
 statusCode- The SMTP enhanced status code, as defined by RFC 3463. This parameter is required.- Returns:
 this- See Also:
 
 - 
build
- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<BounceTemplate>- Returns:
 - a newly built instance of 
BounceTemplate. 
 
 -