Class CfnCustomVerificationEmailTemplateMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnCustomVerificationEmailTemplateMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomVerificationEmailTemplateMixinProps>
- Enclosing interface:
CfnCustomVerificationEmailTemplateMixinProps
@Stability(Stable)
public static final class CfnCustomVerificationEmailTemplateMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCustomVerificationEmailTemplateMixinProps>
A builder for
CfnCustomVerificationEmailTemplateMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.failureRedirectionUrl(String failureRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getFailureRedirectionUrl()fromEmailAddress(String fromEmailAddress) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getFromEmailAddress()successRedirectionUrl(String successRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getSuccessRedirectionUrl()Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTags()templateContent(String templateContent) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTemplateContent()templateName(String templateName) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTemplateName()templateSubject(String templateSubject) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTemplateSubject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failureRedirectionUrl
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder failureRedirectionUrl(String failureRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getFailureRedirectionUrl()- Parameters:
failureRedirectionUrl- The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.- Returns:
this
-
fromEmailAddress
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder fromEmailAddress(String fromEmailAddress) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getFromEmailAddress()- Parameters:
fromEmailAddress- The email address that the custom verification email is sent from.- Returns:
this
-
successRedirectionUrl
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder successRedirectionUrl(String successRedirectionUrl) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getSuccessRedirectionUrl()- Parameters:
successRedirectionUrl- The URL that the recipient of the verification email is sent to if his or her address is successfully verified.- Returns:
this
-
tags
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTags()- Parameters:
tags- The tags (keys and values) associated with the tenant.- Returns:
this
-
templateContent
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder templateContent(String templateContent) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTemplateContent()- Parameters:
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.- Returns:
this
-
templateName
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder templateName(String templateName) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTemplateName()- Parameters:
templateName- The name of the custom verification email template.- Returns:
this
-
templateSubject
@Stability(Stable) public CfnCustomVerificationEmailTemplateMixinProps.Builder templateSubject(String templateSubject) Sets the value ofCfnCustomVerificationEmailTemplateMixinProps.getTemplateSubject()- Parameters:
templateSubject- The subject line of the custom verification email.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCustomVerificationEmailTemplateMixinProps>- Returns:
- a new instance of
CfnCustomVerificationEmailTemplateMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-