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();
 
  • Method Details

    • getExpression

      @Stability(Stable) @NotNull String getExpression()
      The logical expression used to recognize what data to collect.

      For example, $variable.Vehicle.OutsideAirTemperature >= 105.0 .

    • getConditionLanguageVersion

      @Stability(Stable) @Nullable default Number getConditionLanguageVersion()
      (Optional) Specifies the version of the conditional expression language.
    • getMinimumTriggerIntervalMs

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) @Nullable default String 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

      Returns:
      a CfnCampaign.ConditionBasedCollectionSchemeProperty.Builder of CfnCampaign.ConditionBasedCollectionSchemeProperty