@Stability(value=Stable) public static final class CfnSmsTemplateProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSmsTemplateProps>
CfnSmsTemplateProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSmsTemplateProps.Builder |
body(String body)
Sets the value of
CfnSmsTemplateProps.getBody() |
CfnSmsTemplateProps |
build()
Builds the configured instance.
|
CfnSmsTemplateProps.Builder |
defaultSubstitutions(String defaultSubstitutions)
Sets the value of
CfnSmsTemplateProps.getDefaultSubstitutions() |
CfnSmsTemplateProps.Builder |
tags(Object tags)
Sets the value of
CfnSmsTemplateProps.getTags() |
CfnSmsTemplateProps.Builder |
templateDescription(String templateDescription)
Sets the value of
CfnSmsTemplateProps.getTemplateDescription() |
CfnSmsTemplateProps.Builder |
templateName(String templateName)
Sets the value of
CfnSmsTemplateProps.getTemplateName() |
@Stability(value=Stable) public CfnSmsTemplateProps.Builder body(String body)
CfnSmsTemplateProps.getBody()body - The message body to use in text messages that are based on the message template. This parameter is required.this@Stability(value=Stable) public CfnSmsTemplateProps.Builder templateName(String templateName)
CfnSmsTemplateProps.getTemplateName()templateName - The name of the message template. This parameter is required.this@Stability(value=Stable) public CfnSmsTemplateProps.Builder defaultSubstitutions(String defaultSubstitutions)
CfnSmsTemplateProps.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 CfnSmsTemplateProps.Builder tags(Object tags)
CfnSmsTemplateProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnSmsTemplateProps.Builder templateDescription(String templateDescription)
CfnSmsTemplateProps.getTemplateDescription()templateDescription - A custom description of the message template.this@Stability(value=Stable) public CfnSmsTemplateProps build()
build in interface software.amazon.jsii.Builder<CfnSmsTemplateProps>CfnSmsTemplatePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.