Class CfnCampaignPropsMixin.LocalTimeZoneConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin.LocalTimeZoneConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.LocalTimeZoneConfigProperty>
- Enclosing interface:
CfnCampaignPropsMixin.LocalTimeZoneConfigProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.LocalTimeZoneConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.LocalTimeZoneConfigProperty>
A builder for
CfnCampaignPropsMixin.LocalTimeZoneConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultTimeZone(String defaultTimeZone) Sets the value ofCfnCampaignPropsMixin.LocalTimeZoneConfigProperty.getDefaultTimeZone()localTimeZoneDetection(List<String> localTimeZoneDetection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultTimeZone
@Stability(Stable) public CfnCampaignPropsMixin.LocalTimeZoneConfigProperty.Builder defaultTimeZone(String defaultTimeZone) Sets the value ofCfnCampaignPropsMixin.LocalTimeZoneConfigProperty.getDefaultTimeZone()- Parameters:
defaultTimeZone- The timezone to use for all recipients.- Returns:
this
-
localTimeZoneDetection
@Stability(Stable) public CfnCampaignPropsMixin.LocalTimeZoneConfigProperty.Builder localTimeZoneDetection(List<String> localTimeZoneDetection) - Parameters:
localTimeZoneDetection- Detects methods for the recipient's timezone.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.LocalTimeZoneConfigProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.LocalTimeZoneConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-