Class CfnCampaign.EntryLimitsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.EntryLimitsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.EntryLimitsConfigProperty>
- Enclosing interface:
CfnCampaign.EntryLimitsConfigProperty
@Stability(Stable)
public static final class CfnCampaign.EntryLimitsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.EntryLimitsConfigProperty>
A builder for
CfnCampaign.EntryLimitsConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxEntryCount(Number maxEntryCount) Sets the value ofCfnCampaign.EntryLimitsConfigProperty.getMaxEntryCount()minEntryInterval(String minEntryInterval) Sets the value ofCfnCampaign.EntryLimitsConfigProperty.getMinEntryInterval()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxEntryCount
@Stability(Stable) public CfnCampaign.EntryLimitsConfigProperty.Builder maxEntryCount(Number maxEntryCount) Sets the value ofCfnCampaign.EntryLimitsConfigProperty.getMaxEntryCount()- Parameters:
maxEntryCount- Maximum number of entries per participant. This parameter is required. 0 indicates unlimited entries.- Returns:
this
-
minEntryInterval
@Stability(Stable) public CfnCampaign.EntryLimitsConfigProperty.Builder minEntryInterval(String minEntryInterval) Sets the value ofCfnCampaign.EntryLimitsConfigProperty.getMinEntryInterval()- Parameters:
minEntryInterval- Time duration in ISO 8601 format. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.EntryLimitsConfigProperty>- Returns:
- a new instance of
CfnCampaign.EntryLimitsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-