Class CfnCampaign.DailyHourProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.DailyHourProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.DailyHourProperty>
- Enclosing interface:
CfnCampaign.DailyHourProperty
@Stability(Stable)
public static final class CfnCampaign.DailyHourProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.DailyHourProperty>
A builder for
CfnCampaign.DailyHourProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.DailyHourProperty.getKey()Sets the value ofCfnCampaign.DailyHourProperty.getValue()value(IResolvable value) Sets the value ofCfnCampaign.DailyHourProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnCampaign.DailyHourProperty.getKey()- Parameters:
key- The key for DailyHour.- Returns:
this
-
value
Sets the value ofCfnCampaign.DailyHourProperty.getValue()- Parameters:
value- The value for DailyHour.- Returns:
this
-
value
Sets the value ofCfnCampaign.DailyHourProperty.getValue()- Parameters:
value- The value for DailyHour.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.DailyHourProperty>- Returns:
- a new instance of
CfnCampaign.DailyHourProperty - Throws:
NullPointerException- if any required attribute was not provided
-