Class CfnCustomVerificationEmailTemplateProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.CfnCustomVerificationEmailTemplateProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomVerificationEmailTemplateProps>
- Enclosing interface:
CfnCustomVerificationEmailTemplateProps
@Stability(Stable)
public static final class CfnCustomVerificationEmailTemplateProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomVerificationEmailTemplateProps>
A builder for
CfnCustomVerificationEmailTemplateProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.failureRedirectionUrl(String failureRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateProps.getFailureRedirectionUrl()fromEmailAddress(String fromEmailAddress) Sets the value ofCfnCustomVerificationEmailTemplateProps.getFromEmailAddress()successRedirectionUrl(String successRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateProps.getSuccessRedirectionUrl()Sets the value ofCfnCustomVerificationEmailTemplateProps.getTags()templateContent(String templateContent) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTemplateContent()templateName(String templateName) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTemplateName()templateSubject(String templateSubject) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTemplateSubject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureRedirectionUrl
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder failureRedirectionUrl(String failureRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateProps.getFailureRedirectionUrl()- 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
-
fromEmailAddress
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder fromEmailAddress(String fromEmailAddress) Sets the value ofCfnCustomVerificationEmailTemplateProps.getFromEmailAddress()- Parameters:
fromEmailAddress- The email address that the custom verification email is sent from. This parameter is required.- Returns:
this
-
successRedirectionUrl
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder successRedirectionUrl(String successRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateProps.getSuccessRedirectionUrl()- 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
-
templateContent
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder templateContent(String templateContent) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTemplateContent()- Parameters:
templateContent- The content of the custom verification email. This parameter is required. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations.- Returns:
this
-
templateName
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder templateName(String templateName) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTemplateName()- Parameters:
templateName- The name of the custom verification email template. This parameter is required.- Returns:
this
-
templateSubject
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder templateSubject(String templateSubject) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTemplateSubject()- Parameters:
templateSubject- The subject line of the custom verification email. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnCustomVerificationEmailTemplateProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnCustomVerificationEmailTemplateProps.getTags()- Parameters:
tags- The tags (keys and values) associated with the tenant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomVerificationEmailTemplateProps>- Returns:
- a new instance of
CfnCustomVerificationEmailTemplateProps - Throws:
NullPointerException- if any required attribute was not provided
-