@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetPropertyValue extends Object implements Serializable, Cloneable, StructuredPojo
An asset property value entry containing the following information.
Constructor and Description |
---|
AssetPropertyValue() |
Modifier and Type | Method and Description |
---|---|
AssetPropertyValue |
clone() |
boolean |
equals(Object obj) |
String |
getQuality()
Optional.
|
AssetPropertyTimestamp |
getTimestamp()
The asset property value timestamp.
|
AssetPropertyVariant |
getValue()
The value of the asset property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setQuality(String quality)
Optional.
|
void |
setTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
void |
setValue(AssetPropertyVariant value)
The value of the asset property.
|
String |
toString()
Returns a string representation of this object.
|
AssetPropertyValue |
withQuality(String quality)
Optional.
|
AssetPropertyValue |
withTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
|
AssetPropertyValue |
withValue(AssetPropertyVariant value)
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 AssetPropertyVariant getValue()
The value of the asset property.
public AssetPropertyValue withValue(AssetPropertyVariant value)
The value of the asset property.
value
- The value of the asset property.public void setTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
timestamp
- The asset property value timestamp.public AssetPropertyTimestamp getTimestamp()
The asset property value timestamp.
public AssetPropertyValue withTimestamp(AssetPropertyTimestamp timestamp)
The asset property value timestamp.
timestamp
- The asset property value timestamp.public void setQuality(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 String getQuality()
Optional. A string that describes the quality of the value. Accepts substitution templates. Must be
GOOD
, BAD
, or UNCERTAIN
.
GOOD
, BAD
, or UNCERTAIN
.public AssetPropertyValue withQuality(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 String toString()
toString
in class Object
Object.toString()
public AssetPropertyValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.