Class ConditionBasedCollectionScheme
- java.lang.Object
-
- software.amazon.awssdk.services.iotfleetwise.model.ConditionBasedCollectionScheme
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConditionBasedCollectionScheme.Builder,ConditionBasedCollectionScheme>
@Generated("software.amazon.awssdk:codegen") public final class ConditionBasedCollectionScheme extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConditionBasedCollectionScheme.Builder,ConditionBasedCollectionScheme>
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConditionBasedCollectionScheme.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConditionBasedCollectionScheme.Builderbuilder()IntegerconditionLanguageVersion()Specifies the version of the conditional expression language.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringexpression()The logical expression used to recognize what data to collect.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongminimumTriggerIntervalMs()The minimum duration of time between two triggering events to collect data, in milliseconds.List<SdkField<?>>sdkFields()static Class<? extends ConditionBasedCollectionScheme.Builder>serializableBuilderClass()ConditionBasedCollectionScheme.BuildertoBuilder()StringtoString()Returns a string representation of this object.TriggerModetriggerMode()Whether to collect data for all triggering events (ALWAYS).StringtriggerModeAsString()Whether to collect data for all triggering events (ALWAYS).-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
expression
public final String expression()
The logical expression used to recognize what data to collect. For example,
$variable.`Vehicle.OutsideAirTemperature` >= 105.0.- Returns:
- The logical expression used to recognize what data to collect. For example,
$variable.`Vehicle.OutsideAirTemperature` >= 105.0.
-
minimumTriggerIntervalMs
public final Long 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:
- 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.
-
triggerMode
public final TriggerMode 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.If the service returns an enum value that is not available in the current SDK version,
triggerModewill returnTriggerMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtriggerModeAsString().- Returns:
- 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. - See Also:
TriggerMode
-
triggerModeAsString
public final String triggerModeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
triggerModewill returnTriggerMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtriggerModeAsString().- Returns:
- 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. - See Also:
TriggerMode
-
conditionLanguageVersion
public final Integer conditionLanguageVersion()
Specifies the version of the conditional expression language.
- Returns:
- Specifies the version of the conditional expression language.
-
toBuilder
public ConditionBasedCollectionScheme.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConditionBasedCollectionScheme.Builder,ConditionBasedCollectionScheme>
-
builder
public static ConditionBasedCollectionScheme.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConditionBasedCollectionScheme.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-