Class CfnCampaign.TemplateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.TemplateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TemplateConfigurationProperty>
- Enclosing interface:
- CfnCampaign.TemplateConfigurationProperty
@Stability(Stable)
public static final class CfnCampaign.TemplateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TemplateConfigurationProperty>
A builder for
CfnCampaign.TemplateConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.emailTemplate(IResolvable emailTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getEmailTemplate()emailTemplate(CfnCampaign.TemplateProperty emailTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getEmailTemplate()pushTemplate(IResolvable pushTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getPushTemplate()pushTemplate(CfnCampaign.TemplateProperty pushTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getPushTemplate()smsTemplate(IResolvable smsTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getSmsTemplate()smsTemplate(CfnCampaign.TemplateProperty smsTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getSmsTemplate()voiceTemplate(IResolvable voiceTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getVoiceTemplate()voiceTemplate(CfnCampaign.TemplateProperty voiceTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getVoiceTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder emailTemplate(IResolvable emailTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getEmailTemplate()- Parameters:
emailTemplate-CfnCampaign.TemplateConfigurationProperty.EmailTemplate.- Returns:
this
-
emailTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder emailTemplate(CfnCampaign.TemplateProperty emailTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getEmailTemplate()- Parameters:
emailTemplate-CfnCampaign.TemplateConfigurationProperty.EmailTemplate.- Returns:
this
-
pushTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder pushTemplate(IResolvable pushTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getPushTemplate()- Parameters:
pushTemplate-CfnCampaign.TemplateConfigurationProperty.PushTemplate.- Returns:
this
-
pushTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder pushTemplate(CfnCampaign.TemplateProperty pushTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getPushTemplate()- Parameters:
pushTemplate-CfnCampaign.TemplateConfigurationProperty.PushTemplate.- Returns:
this
-
smsTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder smsTemplate(IResolvable smsTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getSmsTemplate()- Parameters:
smsTemplate-CfnCampaign.TemplateConfigurationProperty.SMSTemplate.- Returns:
this
-
smsTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder smsTemplate(CfnCampaign.TemplateProperty smsTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getSmsTemplate()- Parameters:
smsTemplate-CfnCampaign.TemplateConfigurationProperty.SMSTemplate.- Returns:
this
-
voiceTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder voiceTemplate(IResolvable voiceTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getVoiceTemplate()- Parameters:
voiceTemplate-CfnCampaign.TemplateConfigurationProperty.VoiceTemplate.- Returns:
this
-
voiceTemplate
@Stability(Stable) public CfnCampaign.TemplateConfigurationProperty.Builder voiceTemplate(CfnCampaign.TemplateProperty voiceTemplate) Sets the value ofCfnCampaign.TemplateConfigurationProperty.getVoiceTemplate()- Parameters:
voiceTemplate-CfnCampaign.TemplateConfigurationProperty.VoiceTemplate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.TemplateConfigurationProperty>- Returns:
- a new instance of
CfnCampaign.TemplateConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-