@Stability(value=Stable) public static final class CfnEmailTemplateProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEmailTemplateProps>
CfnEmailTemplateProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEmailTemplateProps |
build()
Builds the configured instance.
|
CfnEmailTemplateProps.Builder |
defaultSubstitutions(String defaultSubstitutions)
Sets the value of
CfnEmailTemplateProps.getDefaultSubstitutions() |
CfnEmailTemplateProps.Builder |
htmlPart(String htmlPart)
Sets the value of
CfnEmailTemplateProps.getHtmlPart() |
CfnEmailTemplateProps.Builder |
subject(String subject)
Sets the value of
CfnEmailTemplateProps.getSubject() |
CfnEmailTemplateProps.Builder |
tags(Object tags)
Sets the value of
CfnEmailTemplateProps.getTags() |
CfnEmailTemplateProps.Builder |
templateDescription(String templateDescription)
Sets the value of
CfnEmailTemplateProps.getTemplateDescription() |
CfnEmailTemplateProps.Builder |
templateName(String templateName)
Sets the value of
CfnEmailTemplateProps.getTemplateName() |
CfnEmailTemplateProps.Builder |
textPart(String textPart)
Sets the value of
CfnEmailTemplateProps.getTextPart() |
@Stability(value=Stable) public CfnEmailTemplateProps.Builder subject(String subject)
CfnEmailTemplateProps.getSubject()subject - The subject line, or title, to use in email messages that are based on the message template. This parameter is required.this@Stability(value=Stable) public CfnEmailTemplateProps.Builder templateName(String templateName)
CfnEmailTemplateProps.getTemplateName()templateName - The name of the message template. This parameter is required.this@Stability(value=Stable) public CfnEmailTemplateProps.Builder defaultSubstitutions(String defaultSubstitutions)
CfnEmailTemplateProps.getDefaultSubstitutions()defaultSubstitutions - A JSON object that specifies the default values to use for message variables in the message template.
This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.this@Stability(value=Stable) public CfnEmailTemplateProps.Builder htmlPart(String htmlPart)
CfnEmailTemplateProps.getHtmlPart()htmlPart - The message body, in HTML format, to use in email messages that are based on the message template.
We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.this@Stability(value=Stable) public CfnEmailTemplateProps.Builder tags(Object tags)
CfnEmailTemplateProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnEmailTemplateProps.Builder templateDescription(String templateDescription)
CfnEmailTemplateProps.getTemplateDescription()templateDescription - A custom description of the message template.this@Stability(value=Stable) public CfnEmailTemplateProps.Builder textPart(String textPart)
CfnEmailTemplateProps.getTextPart()textPart - The message body, in plain text format, to use in email messages that are based on the message template.
We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.this@Stability(value=Stable) public CfnEmailTemplateProps build()
build in interface software.amazon.jsii.Builder<CfnEmailTemplateProps>CfnEmailTemplatePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.