Class CfnCampaign.SignalInformationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnCampaign.SignalInformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.SignalInformationProperty>
- Enclosing interface:
- CfnCampaign.SignalInformationProperty
@Stability(Stable)
public static final class CfnCampaign.SignalInformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.SignalInformationProperty>
A builder for
CfnCampaign.SignalInformationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxSampleCount(Number maxSampleCount) Sets the value ofCfnCampaign.SignalInformationProperty.getMaxSampleCount()minimumSamplingIntervalMs(Number minimumSamplingIntervalMs) Sets the value ofCfnCampaign.SignalInformationProperty.getMinimumSamplingIntervalMs()Sets the value ofCfnCampaign.SignalInformationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnCampaign.SignalInformationProperty.getName()- Parameters:
name- The name of the signal. This parameter is required.- Returns:
this
-
maxSampleCount
@Stability(Stable) public CfnCampaign.SignalInformationProperty.Builder maxSampleCount(Number maxSampleCount) Sets the value ofCfnCampaign.SignalInformationProperty.getMaxSampleCount()- Parameters:
maxSampleCount- (Optional) The maximum number of samples to collect.- Returns:
this
-
minimumSamplingIntervalMs
@Stability(Stable) public CfnCampaign.SignalInformationProperty.Builder minimumSamplingIntervalMs(Number minimumSamplingIntervalMs) Sets the value ofCfnCampaign.SignalInformationProperty.getMinimumSamplingIntervalMs()- Parameters:
minimumSamplingIntervalMs- (Optional) The minimum duration of time (in milliseconds) between two triggering events to collect data.If a signal changes often, you might want to collect data at a slower rate.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.SignalInformationProperty>- Returns:
- a new instance of
CfnCampaign.SignalInformationProperty - Throws:
NullPointerException- if any required attribute was not provided
-