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 SummaryConstructors
- 
Method SummaryModifier 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- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nameSets 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
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnCampaign.SignalInformationProperty>
- Returns:
- a new instance of CfnCampaign.SignalInformationProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-