@Stability(value=Stable) public static final class CfnCampaign.TemplateProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.TemplateProperty>
CfnCampaign.TemplateProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCampaign.TemplateProperty |
build()
Builds the configured instance.
|
CfnCampaign.TemplateProperty.Builder |
name(String name)
Sets the value of
CfnCampaign.TemplateProperty.getName() |
CfnCampaign.TemplateProperty.Builder |
version(String version)
Sets the value of
CfnCampaign.TemplateProperty.getVersion() |
@Stability(value=Stable) public CfnCampaign.TemplateProperty.Builder name(String name)
CfnCampaign.TemplateProperty.getName()name - The name of the message template to use for the message.
If specified, this value must match the name of an existing message template.this@Stability(value=Stable) public CfnCampaign.TemplateProperty.Builder version(String version)
CfnCampaign.TemplateProperty.getVersion()version - The unique identifier for the version of the message template to use for the message.
If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
If you don't specify a value for this property, Amazon Pinpoint uses the active version of the template. The active version is typically the version of a template that's been most recently reviewed and approved for use, depending on your workflow. It isn't necessarily the latest version of a template.
this@Stability(value=Stable) public CfnCampaign.TemplateProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.TemplateProperty>CfnCampaign.TemplatePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.