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