@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeSeriesDataPoint extends Object implements Serializable, Cloneable, StructuredPojo
The timeseries datatype represents the values of a measure over time. A time series is an array of rows of timestamps and measure values, with rows sorted in ascending order of time. A TimeSeriesDataPoint is a single data point in the timeseries. It represents a tuple of (time, measure value) in a timeseries.
Constructor and Description |
---|
TimeSeriesDataPoint() |
Modifier and Type | Method and Description |
---|---|
TimeSeriesDataPoint |
clone() |
boolean |
equals(Object obj) |
String |
getTime()
The timestamp when the measure value was collected.
|
Datum |
getValue()
The measure value for the data point.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTime(String time)
The timestamp when the measure value was collected.
|
void |
setValue(Datum value)
The measure value for the data point.
|
String |
toString()
Returns a string representation of this object.
|
TimeSeriesDataPoint |
withTime(String time)
The timestamp when the measure value was collected.
|
TimeSeriesDataPoint |
withValue(Datum value)
The measure value for the data point.
|
public void setTime(String time)
The timestamp when the measure value was collected.
time
- The timestamp when the measure value was collected.public String getTime()
The timestamp when the measure value was collected.
public TimeSeriesDataPoint withTime(String time)
The timestamp when the measure value was collected.
time
- The timestamp when the measure value was collected.public void setValue(Datum value)
The measure value for the data point.
value
- The measure value for the data point.public Datum getValue()
The measure value for the data point.
public TimeSeriesDataPoint withValue(Datum value)
The measure value for the data point.
value
- The measure value for the data point.public String toString()
toString
in class Object
Object.toString()
public TimeSeriesDataPoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.