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