@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyValue extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information about a value for a time series property.
Constructor and Description |
---|
PropertyValue() |
Modifier and Type | Method and Description |
---|---|
PropertyValue |
clone() |
boolean |
equals(Object obj) |
String |
getTime()
ISO8601 DateTime of a value for a time series property.
|
Date |
getTimestamp()
Deprecated.
|
DataValue |
getValue()
An object that specifies a value for a time series property.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTime(String time)
ISO8601 DateTime of a value for a time series property.
|
void |
setTimestamp(Date timestamp)
Deprecated.
|
void |
setValue(DataValue value)
An object that specifies a value for a time series property.
|
String |
toString()
Returns a string representation of this object.
|
PropertyValue |
withTime(String time)
ISO8601 DateTime of a value for a time series property.
|
PropertyValue |
withTimestamp(Date timestamp)
Deprecated.
|
PropertyValue |
withValue(DataValue value)
An object that specifies a value for a time series property.
|
@Deprecated public void setTimestamp(Date timestamp)
The timestamp of a value for a time series property.
timestamp
- The timestamp of a value for a time series property.@Deprecated public Date getTimestamp()
The timestamp of a value for a time series property.
@Deprecated public PropertyValue withTimestamp(Date timestamp)
The timestamp of a value for a time series property.
timestamp
- The timestamp of a value for a time series property.public void setValue(DataValue value)
An object that specifies a value for a time series property.
value
- An object that specifies a value for a time series property.public DataValue getValue()
An object that specifies a value for a time series property.
public PropertyValue withValue(DataValue value)
An object that specifies a value for a time series property.
value
- An object that specifies a value for a time series property.public void setTime(String time)
ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
time
- ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
public String getTime()
ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
public PropertyValue withTime(String time)
ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
time
- ISO8601 DateTime of a value for a time series property.
The time for when the property value was recorded in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.SSSSSSSSS][Z/±HH:mm].
[YYYY]: year
[MM]: month
[DD]: day
[hh]: hour
[mm]: minute
[ss]: seconds
[.SSSSSSSSS]: additional precision, where precedence is maintained. For example: [.573123] is equal to 573123000 nanoseconds.
Z: default timezone UTC
± HH:mm: time zone offset in Hours and Minutes.
Required sub-fields: YYYY-MM-DDThh:mm:ss and [Z/±HH:mm]
public String toString()
toString
in class Object
Object.toString()
public PropertyValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.