@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConditionBasedCollectionScheme extends Object implements Serializable, Cloneable, StructuredPojo
Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
Constructor and Description |
---|
ConditionBasedCollectionScheme() |
Modifier and Type | Method and Description |
---|---|
ConditionBasedCollectionScheme |
clone() |
boolean |
equals(Object obj) |
Integer |
getConditionLanguageVersion()
Specifies the version of the conditional expression language.
|
String |
getExpression()
The logical expression used to recognize what data to collect.
|
Long |
getMinimumTriggerIntervalMs()
The minimum duration of time between two triggering events to collect data, in milliseconds.
|
String |
getTriggerMode()
Whether to collect data for all triggering events (
ALWAYS ). |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConditionLanguageVersion(Integer conditionLanguageVersion)
Specifies the version of the conditional expression language.
|
void |
setExpression(String expression)
The logical expression used to recognize what data to collect.
|
void |
setMinimumTriggerIntervalMs(Long minimumTriggerIntervalMs)
The minimum duration of time between two triggering events to collect data, in milliseconds.
|
void |
setTriggerMode(String triggerMode)
Whether to collect data for all triggering events (
ALWAYS ). |
String |
toString()
Returns a string representation of this object.
|
ConditionBasedCollectionScheme |
withConditionLanguageVersion(Integer conditionLanguageVersion)
Specifies the version of the conditional expression language.
|
ConditionBasedCollectionScheme |
withExpression(String expression)
The logical expression used to recognize what data to collect.
|
ConditionBasedCollectionScheme |
withMinimumTriggerIntervalMs(Long minimumTriggerIntervalMs)
The minimum duration of time between two triggering events to collect data, in milliseconds.
|
ConditionBasedCollectionScheme |
withTriggerMode(String triggerMode)
Whether to collect data for all triggering events (
ALWAYS ). |
ConditionBasedCollectionScheme |
withTriggerMode(TriggerMode triggerMode)
Whether to collect data for all triggering events (
ALWAYS ). |
public void setExpression(String expression)
The logical expression used to recognize what data to collect. For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
.
expression
- The logical expression used to recognize what data to collect. For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
.public String getExpression()
The logical expression used to recognize what data to collect. For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
.
$variable.Vehicle.OutsideAirTemperature >= 105.0
.public ConditionBasedCollectionScheme withExpression(String expression)
The logical expression used to recognize what data to collect. For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
.
expression
- The logical expression used to recognize what data to collect. For example,
$variable.Vehicle.OutsideAirTemperature >= 105.0
.public void setMinimumTriggerIntervalMs(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.
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.
public Long getMinimumTriggerIntervalMs()
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.
If a signal changes often, you might want to collect data at a slower rate.
public ConditionBasedCollectionScheme withMinimumTriggerIntervalMs(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.
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.
public void setTriggerMode(String 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.
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.TriggerMode
public String getTriggerMode()
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.
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.TriggerMode
public ConditionBasedCollectionScheme withTriggerMode(String 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.
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.TriggerMode
public ConditionBasedCollectionScheme withTriggerMode(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.
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.TriggerMode
public void setConditionLanguageVersion(Integer conditionLanguageVersion)
Specifies the version of the conditional expression language.
conditionLanguageVersion
- Specifies the version of the conditional expression language.public Integer getConditionLanguageVersion()
Specifies the version of the conditional expression language.
public ConditionBasedCollectionScheme withConditionLanguageVersion(Integer conditionLanguageVersion)
Specifies the version of the conditional expression language.
conditionLanguageVersion
- Specifies the version of the conditional expression language.public String toString()
toString
in class Object
Object.toString()
public ConditionBasedCollectionScheme clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.