Class CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty>
- Enclosing interface:
CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty>
A builder for
CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty.getPeriodMs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
periodMs
@Stability(Stable) public CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty.Builder periodMs(Number periodMs) Sets the value ofCfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty.getPeriodMs()- Parameters:
periodMs- The time period (in milliseconds) to decide how often to collect data. For example, if the time period is60000, the Edge Agent software collects data once every minute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.TimeBasedCollectionSchemeProperty - Throws:
NullPointerException- if any required attribute was not provided
-