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