Class CfnCampaign.ChannelSubtypeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.ChannelSubtypeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.ChannelSubtypeConfigProperty>
- Enclosing interface:
CfnCampaign.ChannelSubtypeConfigProperty
@Stability(Stable)
public static final class CfnCampaign.ChannelSubtypeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.ChannelSubtypeConfigProperty>
A builder for
CfnCampaign.ChannelSubtypeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.email(IResolvable email) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getEmail()Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getEmail()sms(IResolvable sms) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getSms()Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getSms()telephony(IResolvable telephony) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getTelephony()Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getTelephony()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getEmail()- Parameters:
email- Email Channel Subtype config.- Returns:
this
-
email
@Stability(Stable) public CfnCampaign.ChannelSubtypeConfigProperty.Builder email(CfnCampaign.EmailChannelSubtypeConfigProperty email) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getEmail()- Parameters:
email- Email Channel Subtype config.- Returns:
this
-
sms
Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getSms()- Parameters:
sms- SMS Channel Subtype config.- Returns:
this
-
sms
@Stability(Stable) public CfnCampaign.ChannelSubtypeConfigProperty.Builder sms(CfnCampaign.SmsChannelSubtypeConfigProperty sms) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getSms()- Parameters:
sms- SMS Channel Subtype config.- Returns:
this
-
telephony
@Stability(Stable) public CfnCampaign.ChannelSubtypeConfigProperty.Builder telephony(IResolvable telephony) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getTelephony()- Parameters:
telephony- Telephony Channel Subtype config.- Returns:
this
-
telephony
@Stability(Stable) public CfnCampaign.ChannelSubtypeConfigProperty.Builder telephony(CfnCampaign.TelephonyChannelSubtypeConfigProperty telephony) Sets the value ofCfnCampaign.ChannelSubtypeConfigProperty.getTelephony()- Parameters:
telephony- Telephony Channel Subtype config.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.ChannelSubtypeConfigProperty>- Returns:
- a new instance of
CfnCampaign.ChannelSubtypeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-