Class CfnCampaign.TimeBasedCollectionSchemeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnCampaign.TimeBasedCollectionSchemeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TimeBasedCollectionSchemeProperty>
- Enclosing interface:
- CfnCampaign.TimeBasedCollectionSchemeProperty
@Stability(Stable)
public static final class CfnCampaign.TimeBasedCollectionSchemeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TimeBasedCollectionSchemeProperty>
A builder for
CfnCampaign.TimeBasedCollectionSchemeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.TimeBasedCollectionSchemeProperty.getPeriodMs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
periodMs
@Stability(Stable) public CfnCampaign.TimeBasedCollectionSchemeProperty.Builder periodMs(Number periodMs) Sets the value ofCfnCampaign.TimeBasedCollectionSchemeProperty.getPeriodMs()- Parameters:
periodMs- The time period (in milliseconds) to decide how often to collect data. This parameter is required. 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<CfnCampaign.TimeBasedCollectionSchemeProperty>- Returns:
- a new instance of
CfnCampaign.TimeBasedCollectionSchemeProperty - Throws:
NullPointerException- if any required attribute was not provided
-