Interface CfnCampaign.ConditionBasedCollectionSchemeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCampaign.ConditionBasedCollectionSchemeProperty.Jsii$Proxy
- Enclosing class:
CfnCampaign
@Stability(Stable)
public static interface CfnCampaign.ConditionBasedCollectionSchemeProperty
extends software.amazon.jsii.JsiiSerializable
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotfleetwise.*; ConditionBasedCollectionSchemeProperty conditionBasedCollectionSchemeProperty = ConditionBasedCollectionSchemeProperty.builder() .expression("expression") // the properties below are optional .conditionLanguageVersion(123) .minimumTriggerIntervalMs(123) .triggerMode("triggerMode") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCampaign.ConditionBasedCollectionSchemeProperty
static final class
An implementation forCfnCampaign.ConditionBasedCollectionSchemeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
(Optional) Specifies the version of the conditional expression language.The logical expression used to recognize what data to collect.default Number
(Optional) The minimum duration of time between two triggering events to collect data, in milliseconds.default String
(Optional) Whether to collect data for all triggering events (ALWAYS
).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExpression
The logical expression used to recognize what data to collect.For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
. -
getConditionLanguageVersion
(Optional) Specifies the version of the conditional expression language. -
getMinimumTriggerIntervalMs
(Optional) 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.
-
getTriggerMode
(Optional) 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. -
builder
-