@Stability(value=Stable) public static final class CfnSmsTemplate.Builder extends Object implements software.amazon.jsii.Builder<CfnSmsTemplate>
CfnSmsTemplate.| Modifier and Type | Method and Description |
|---|---|
CfnSmsTemplate.Builder |
body(String body)
The message body to use in text messages that are based on the message template.
|
CfnSmsTemplate |
build() |
static CfnSmsTemplate.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSmsTemplate.Builder |
defaultSubstitutions(String defaultSubstitutions)
A JSON object that specifies the default values to use for message variables in the message template.
|
CfnSmsTemplate.Builder |
tags(Object tags)
An array of key-value pairs to apply to this resource.
|
CfnSmsTemplate.Builder |
templateDescription(String templateDescription)
A custom description of the message template.
|
CfnSmsTemplate.Builder |
templateName(String templateName)
The name of the message template.
|
@Stability(value=Stable) public static CfnSmsTemplate.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSmsTemplate.Builder.@Stability(value=Stable) public CfnSmsTemplate.Builder body(String body)
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 CfnSmsTemplate.Builder templateName(String templateName)
templateName - The name of the message template. This parameter is required.this@Stability(value=Stable) public CfnSmsTemplate.Builder defaultSubstitutions(String defaultSubstitutions)
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.
defaultSubstitutions - A JSON object that specifies the default values to use for message variables in the message template. This parameter is required.this@Stability(value=Stable) public CfnSmsTemplate.Builder tags(Object tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnSmsTemplate.Builder templateDescription(String templateDescription)
templateDescription - A custom description of the message template. This parameter is required.this@Stability(value=Stable) public CfnSmsTemplate build()
build in interface software.amazon.jsii.Builder<CfnSmsTemplate>Copyright © 2022. All rights reserved.