public class AssetPropertyValue
extends java.lang.Object
implements java.io.Serializable
An asset property value entry containing the following information.
| Constructor and Description |
|---|
AssetPropertyValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getQuality()
Optional.
|
AssetPropertyTimestamp |
getTimestamp()
The asset property value timestamp.
|
AssetPropertyVariant |
getValue()
The value of the asset property.
|
int |
hashCode() |
void |
setQuality(java.lang.String quality)
Optional.
|
void |
setTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
void |
setValue(AssetPropertyVariant value)
The value of the asset property.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssetPropertyValue |
withQuality(java.lang.String quality)
Optional.
|
AssetPropertyValue |
withTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
AssetPropertyValue |
withValue(AssetPropertyVariant value)
The value of the asset property.
|
public AssetPropertyVariant getValue()
The value of the asset property.
The value of the asset property.
public void setValue(AssetPropertyVariant value)
The value of the asset property.
value - The value of the asset property.
public AssetPropertyValue withValue(AssetPropertyVariant value)
The value of the asset property.
Returns a reference to this object so that method calls can be chained together.
value - The value of the asset property.
public AssetPropertyTimestamp getTimestamp()
The asset property value timestamp.
The asset property value timestamp.
public void setTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
timestamp - The asset property value timestamp.
public AssetPropertyValue withTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
Returns a reference to this object so that method calls can be chained together.
timestamp - The asset property value timestamp.
public java.lang.String getQuality()
Optional. A string that describes the quality of the value. Accepts
substitution templates. Must be GOOD, BAD, or
UNCERTAIN.
Optional. A string that describes the quality of the value.
Accepts substitution templates. Must be GOOD,
BAD, or UNCERTAIN.
public void setQuality(java.lang.String quality)
Optional. A string that describes the quality of the value. Accepts
substitution templates. Must be GOOD, BAD, or
UNCERTAIN.
quality -
Optional. A string that describes the quality of the value.
Accepts substitution templates. Must be GOOD,
BAD, or UNCERTAIN.
public AssetPropertyValue withQuality(java.lang.String quality)
Optional. A string that describes the quality of the value. Accepts
substitution templates. Must be GOOD, BAD, or
UNCERTAIN.
Returns a reference to this object so that method calls can be chained together.
quality -
Optional. A string that describes the quality of the value.
Accepts substitution templates. Must be GOOD,
BAD, or UNCERTAIN.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.