Class CfnCampaignPropsMixin.CollectionSchemeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin.CollectionSchemeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.CollectionSchemeProperty>
- Enclosing interface:
CfnCampaignPropsMixin.CollectionSchemeProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.CollectionSchemeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.CollectionSchemeProperty>
A builder for
CfnCampaignPropsMixin.CollectionSchemeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditionBasedCollectionScheme(CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty conditionBasedCollectionScheme) conditionBasedCollectionScheme(IResolvable conditionBasedCollectionScheme) timeBasedCollectionScheme(CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty timeBasedCollectionScheme) timeBasedCollectionScheme(IResolvable timeBasedCollectionScheme)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditionBasedCollectionScheme
@Stability(Stable) public CfnCampaignPropsMixin.CollectionSchemeProperty.Builder conditionBasedCollectionScheme(IResolvable conditionBasedCollectionScheme) Sets the value ofCfnCampaignPropsMixin.CollectionSchemeProperty.getConditionBasedCollectionScheme()- Parameters:
conditionBasedCollectionScheme- Information about a collection scheme that uses a simple logical expression to recognize what data to collect.- Returns:
this
-
conditionBasedCollectionScheme
@Stability(Stable) public CfnCampaignPropsMixin.CollectionSchemeProperty.Builder conditionBasedCollectionScheme(CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty conditionBasedCollectionScheme) Sets the value ofCfnCampaignPropsMixin.CollectionSchemeProperty.getConditionBasedCollectionScheme()- Parameters:
conditionBasedCollectionScheme- Information about a collection scheme that uses a simple logical expression to recognize what data to collect.- Returns:
this
-
timeBasedCollectionScheme
@Stability(Stable) public CfnCampaignPropsMixin.CollectionSchemeProperty.Builder timeBasedCollectionScheme(IResolvable timeBasedCollectionScheme) - Parameters:
timeBasedCollectionScheme- Information about a collection scheme that uses a time period to decide how often to collect data.- Returns:
this
-
timeBasedCollectionScheme
@Stability(Stable) public CfnCampaignPropsMixin.CollectionSchemeProperty.Builder timeBasedCollectionScheme(CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty timeBasedCollectionScheme) - Parameters:
timeBasedCollectionScheme- Information about a collection scheme that uses a time period to decide how often to collect data.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.CollectionSchemeProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.CollectionSchemeProperty - Throws:
NullPointerException- if any required attribute was not provided
-