Class CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.CommunicationTimeConfigProperty>
- Enclosing interface:
CfnCampaignPropsMixin.CommunicationTimeConfigProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.CommunicationTimeConfigProperty>
A builder for
CfnCampaignPropsMixin.CommunicationTimeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getEmail()email(IResolvable email) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getEmail()localTimeZoneConfig(CfnCampaignPropsMixin.LocalTimeZoneConfigProperty localTimeZoneConfig) localTimeZoneConfig(IResolvable localTimeZoneConfig) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getSms()sms(IResolvable sms) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getSms()Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getTelephony()telephony(IResolvable telephony) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getTelephony()Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getWhatsApp()whatsApp(IResolvable whatsApp) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getWhatsApp()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
email
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder email(IResolvable email) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getEmail()- Parameters:
email- The communication time configuration for the email channel subtype.- Returns:
this
-
email
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder email(CfnCampaignPropsMixin.TimeWindowProperty email) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getEmail()- Parameters:
email- The communication time configuration for the email channel subtype.- Returns:
this
-
localTimeZoneConfig
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder localTimeZoneConfig(IResolvable localTimeZoneConfig) - Parameters:
localTimeZoneConfig- The local timezone configuration.- Returns:
this
-
localTimeZoneConfig
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder localTimeZoneConfig(CfnCampaignPropsMixin.LocalTimeZoneConfigProperty localTimeZoneConfig) - Parameters:
localTimeZoneConfig- The local timezone configuration.- Returns:
this
-
sms
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder sms(IResolvable sms) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getSms()- Parameters:
sms- The communication time configuration for the SMS channel subtype.- Returns:
this
-
sms
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder sms(CfnCampaignPropsMixin.TimeWindowProperty sms) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getSms()- Parameters:
sms- The communication time configuration for the SMS channel subtype.- Returns:
this
-
telephony
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder telephony(IResolvable telephony) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getTelephony()- Parameters:
telephony- The communication time configuration for the telephony channel subtype.- Returns:
this
-
telephony
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder telephony(CfnCampaignPropsMixin.TimeWindowProperty telephony) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getTelephony()- Parameters:
telephony- The communication time configuration for the telephony channel subtype.- Returns:
this
-
whatsApp
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder whatsApp(IResolvable whatsApp) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getWhatsApp()- Parameters:
whatsApp- The communication time configuration for the WhatsApp channel subtype.- Returns:
this
-
whatsApp
@Stability(Stable) public CfnCampaignPropsMixin.CommunicationTimeConfigProperty.Builder whatsApp(CfnCampaignPropsMixin.TimeWindowProperty whatsApp) Sets the value ofCfnCampaignPropsMixin.CommunicationTimeConfigProperty.getWhatsApp()- Parameters:
whatsApp- The communication time configuration for the WhatsApp channel subtype.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.CommunicationTimeConfigProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.CommunicationTimeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-