Class CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty>
- Enclosing interface:
CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditionLanguageVersion(Number conditionLanguageVersion) expression(String expression) minimumTriggerIntervalMs(Number minimumTriggerIntervalMs) triggerMode(String triggerMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditionLanguageVersion
@Stability(Stable) public CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder conditionLanguageVersion(Number conditionLanguageVersion) Sets the value ofCfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.getConditionLanguageVersion()- Parameters:
conditionLanguageVersion- Specifies the version of the conditional expression language.- Returns:
this
-
expression
@Stability(Stable) public CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder expression(String expression) - Parameters:
expression- The logical expression used to recognize what data to collect. For example,$variable.Vehicle.OutsideAirTemperature >= 105.0.- Returns:
this
-
minimumTriggerIntervalMs
@Stability(Stable) public CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder minimumTriggerIntervalMs(Number minimumTriggerIntervalMs) Sets the value ofCfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.getMinimumTriggerIntervalMs()- Parameters:
minimumTriggerIntervalMs- The minimum duration of time between two triggering events to collect data, in milliseconds.If a signal changes often, you might want to collect data at a slower rate.
- Returns:
this
-
triggerMode
@Stability(Stable) public CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty.Builder triggerMode(String triggerMode) - Parameters:
triggerMode- Whether to collect data for all triggering events (ALWAYS). Specify (RISING_EDGE), or specify only when the condition first evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't interested on triggering when the airbag is already exploded; they only care about the change from not deployed => deployed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.ConditionBasedCollectionSchemeProperty - Throws:
NullPointerException- if any required attribute was not provided
-