@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetPropertyValue extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
For parameters that are string data type, you can specify the following options:
Use a string. For example, the quality value can be 'GOOD'.
Use an expression. For example, the quality value can be
$input.TemperatureInput.sensorData.quality .
For more information, see Expressions in the AWS IoT Events Developer Guide.
| Constructor and Description |
|---|
AssetPropertyValue() |
| Modifier and Type | Method and Description |
|---|---|
AssetPropertyValue |
clone() |
boolean |
equals(Object obj) |
String |
getQuality()
The quality of the asset property value.
|
AssetPropertyTimestamp |
getTimestamp()
The timestamp associated with the asset property value.
|
AssetPropertyVariant |
getValue()
The value to send to an asset property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setQuality(String quality)
The quality of the asset property value.
|
void |
setTimestamp(AssetPropertyTimestamp timestamp)
The timestamp associated with the asset property value.
|
void |
setValue(AssetPropertyVariant value)
The value to send to an asset property.
|
String |
toString()
Returns a string representation of this object.
|
AssetPropertyValue |
withQuality(String quality)
The quality of the asset property value.
|
AssetPropertyValue |
withTimestamp(AssetPropertyTimestamp timestamp)
The timestamp associated with the asset property value.
|
AssetPropertyValue |
withValue(AssetPropertyVariant value)
The value to send to an asset property.
|
public void setValue(AssetPropertyVariant value)
The value to send to an asset property.
value - The value to send to an asset property.public AssetPropertyVariant getValue()
The value to send to an asset property.
public AssetPropertyValue withValue(AssetPropertyVariant value)
The value to send to an asset property.
value - The value to send to an asset property.public void setTimestamp(AssetPropertyTimestamp timestamp)
The timestamp associated with the asset property value. The default is the current event time.
timestamp - The timestamp associated with the asset property value. The default is the current event time.public AssetPropertyTimestamp getTimestamp()
The timestamp associated with the asset property value. The default is the current event time.
public AssetPropertyValue withTimestamp(AssetPropertyTimestamp timestamp)
The timestamp associated with the asset property value. The default is the current event time.
timestamp - The timestamp associated with the asset property value. The default is the current event time.public void setQuality(String quality)
The quality of the asset property value. The value must be GOOD, BAD, or
UNCERTAIN. You can also specify an expression.
quality - The quality of the asset property value. The value must be GOOD, BAD, or
UNCERTAIN. You can also specify an expression.public String getQuality()
The quality of the asset property value. The value must be GOOD, BAD, or
UNCERTAIN. You can also specify an expression.
GOOD, BAD, or
UNCERTAIN. You can also specify an expression.public AssetPropertyValue withQuality(String quality)
The quality of the asset property value. The value must be GOOD, BAD, or
UNCERTAIN. You can also specify an expression.
quality - The quality of the asset property value. The value must be GOOD, BAD, or
UNCERTAIN. You can also specify an expression.public String toString()
toString in class ObjectObject.toString()public AssetPropertyValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.