Class CfnCustomVerificationEmailTemplate.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnCustomVerificationEmailTemplate.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomVerificationEmailTemplate>
- Enclosing class:
CfnCustomVerificationEmailTemplate
@Stability(Stable)
public static final class CfnCustomVerificationEmailTemplate.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomVerificationEmailTemplate>
A fluent builder for
CfnCustomVerificationEmailTemplate.-
Method Summary
Modifier and TypeMethodDescriptionbuild()failureRedirectionUrl(String failureRedirectionUrl) The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.fromEmailAddress(String fromEmailAddress) The email address that the custom verification email is sent from.successRedirectionUrl(String successRedirectionUrl) The URL that the recipient of the verification email is sent to if his or her address is successfully verified.The tags (keys and values) associated with the tenant.templateContent(String templateContent) The content of the custom verification email.templateName(String templateName) The name of the custom verification email template.templateSubject(String templateSubject) The subject line of the custom verification email.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomVerificationEmailTemplate.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCustomVerificationEmailTemplate.Builder.
-
failureRedirectionUrl
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder failureRedirectionUrl(String failureRedirectionUrl) The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.- Parameters:
failureRedirectionUrl- The URL that the recipient of the verification email is sent to if his or her address is not successfully verified. This parameter is required.- Returns:
this- See Also:
-
fromEmailAddress
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder fromEmailAddress(String fromEmailAddress) The email address that the custom verification email is sent from.- Parameters:
fromEmailAddress- The email address that the custom verification email is sent from. This parameter is required.- Returns:
this- See Also:
-
successRedirectionUrl
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder successRedirectionUrl(String successRedirectionUrl) The URL that the recipient of the verification email is sent to if his or her address is successfully verified.- Parameters:
successRedirectionUrl- The URL that the recipient of the verification email is sent to if his or her address is successfully verified. This parameter is required.- Returns:
this- See Also:
-
templateContent
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder templateContent(String templateContent) The content of the custom verification email.The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations.
- Parameters:
templateContent- The content of the custom verification email. This parameter is required.- Returns:
this- See Also:
-
templateName
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder templateName(String templateName) The name of the custom verification email template.- Parameters:
templateName- The name of the custom verification email template. This parameter is required.- Returns:
this- See Also:
-
templateSubject
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder templateSubject(String templateSubject) The subject line of the custom verification email.- Parameters:
templateSubject- The subject line of the custom verification email. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnCustomVerificationEmailTemplate.Builder tags(List<? extends CfnTag> tags) The tags (keys and values) associated with the tenant.- Parameters:
tags- The tags (keys and values) associated with the tenant. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomVerificationEmailTemplate>- Returns:
- a newly built instance of
CfnCustomVerificationEmailTemplate.
-