@Generated(value="software.amazon.awssdk:codegen") public final class AssetPropertyValue extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssetPropertyValue.Builder,AssetPropertyValue>
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
You must use expressions for all parameters in AssetPropertyValue. The expressions accept literals,
operators, functions, references, and substitution templates.
Examples
For literal values, the expressions must contain single quotes. For example, the value for the quality
parameter can be 'GOOD'.
For references, you must specify either variables or input values. For example, the value for the
quality parameter can be $input.TemperatureInput.sensorData.quality.
For more information, see Expressions in the AWS IoT Events Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssetPropertyValue.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AssetPropertyValue.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
quality()
The quality of the asset property value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssetPropertyValue.Builder> |
serializableBuilderClass() |
AssetPropertyTimestamp |
timestamp()
The timestamp associated with the asset property value.
|
AssetPropertyValue.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AssetPropertyVariant |
value()
The value to send to an asset property.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AssetPropertyVariant value()
The value to send to an asset property.
public final AssetPropertyTimestamp timestamp()
The timestamp associated with the asset property value. The default is the current event time.
public final String quality()
The quality of the asset property value. The value must be 'GOOD', 'BAD', or
'UNCERTAIN'.
'GOOD', 'BAD', or
'UNCERTAIN'.public AssetPropertyValue.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssetPropertyValue.Builder,AssetPropertyValue>public static AssetPropertyValue.Builder builder()
public static Class<? extends AssetPropertyValue.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.