Class CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.TemplateConfigurationProperty>
- Enclosing interface:
CfnCampaignPropsMixin.TemplateConfigurationProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.TemplateConfigurationProperty>
A builder for
CfnCampaignPropsMixin.TemplateConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.emailTemplate(CfnCampaignPropsMixin.TemplateProperty emailTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getEmailTemplate()emailTemplate(IResolvable emailTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getEmailTemplate()pushTemplate(CfnCampaignPropsMixin.TemplateProperty pushTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getPushTemplate()pushTemplate(IResolvable pushTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getPushTemplate()smsTemplate(CfnCampaignPropsMixin.TemplateProperty smsTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getSmsTemplate()smsTemplate(IResolvable smsTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getSmsTemplate()voiceTemplate(CfnCampaignPropsMixin.TemplateProperty voiceTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getVoiceTemplate()voiceTemplate(IResolvable voiceTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getVoiceTemplate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
emailTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder emailTemplate(IResolvable emailTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getEmailTemplate()- Parameters:
emailTemplate- The email template to use for the message.- Returns:
this
-
emailTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder emailTemplate(CfnCampaignPropsMixin.TemplateProperty emailTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getEmailTemplate()- Parameters:
emailTemplate- The email template to use for the message.- Returns:
this
-
pushTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder pushTemplate(IResolvable pushTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getPushTemplate()- Parameters:
pushTemplate- The push notification template to use for the message.- Returns:
this
-
pushTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder pushTemplate(CfnCampaignPropsMixin.TemplateProperty pushTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getPushTemplate()- Parameters:
pushTemplate- The push notification template to use for the message.- Returns:
this
-
smsTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder smsTemplate(IResolvable smsTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getSmsTemplate()- Parameters:
smsTemplate- The SMS template to use for the message.- Returns:
this
-
smsTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder smsTemplate(CfnCampaignPropsMixin.TemplateProperty smsTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getSmsTemplate()- Parameters:
smsTemplate- The SMS template to use for the message.- Returns:
this
-
voiceTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder voiceTemplate(IResolvable voiceTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getVoiceTemplate()- Parameters:
voiceTemplate- The voice template to use for the message. This object isn't supported for campaigns.- Returns:
this
-
voiceTemplate
@Stability(Stable) public CfnCampaignPropsMixin.TemplateConfigurationProperty.Builder voiceTemplate(CfnCampaignPropsMixin.TemplateProperty voiceTemplate) Sets the value ofCfnCampaignPropsMixin.TemplateConfigurationProperty.getVoiceTemplate()- Parameters:
voiceTemplate- The voice template to use for the message. This object isn't supported for campaigns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.TemplateConfigurationProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.TemplateConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-