Class CfnCampaignPropsMixin.OpenHoursProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin.OpenHoursProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.OpenHoursProperty>
- Enclosing interface:
CfnCampaignPropsMixin.OpenHoursProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.OpenHoursProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.OpenHoursProperty>
A builder for
CfnCampaignPropsMixin.OpenHoursProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dailyHours(List<? extends Object> dailyHours) Sets the value ofCfnCampaignPropsMixin.OpenHoursProperty.getDailyHours()dailyHours(IResolvable dailyHours) Sets the value ofCfnCampaignPropsMixin.OpenHoursProperty.getDailyHours()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dailyHours
@Stability(Stable) public CfnCampaignPropsMixin.OpenHoursProperty.Builder dailyHours(IResolvable dailyHours) Sets the value ofCfnCampaignPropsMixin.OpenHoursProperty.getDailyHours()- Parameters:
dailyHours- The daily hours configuration.- Returns:
this
-
dailyHours
@Stability(Stable) public CfnCampaignPropsMixin.OpenHoursProperty.Builder dailyHours(List<? extends Object> dailyHours) Sets the value ofCfnCampaignPropsMixin.OpenHoursProperty.getDailyHours()- Parameters:
dailyHours- The daily hours configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.OpenHoursProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.OpenHoursProperty - Throws:
NullPointerException- if any required attribute was not provided
-