Class TimeSeriesDataPoint
- java.lang.Object
-
- software.amazon.awssdk.services.timestreamquery.model.TimeSeriesDataPoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimeSeriesDataPoint.Builder,TimeSeriesDataPoint>
@Generated("software.amazon.awssdk:codegen") public final class TimeSeriesDataPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeSeriesDataPoint.Builder,TimeSeriesDataPoint>
The timeseries data type 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 time series. It represents a tuple of (time, measure value) in a time series.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimeSeriesDataPoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeSeriesDataPoint.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TimeSeriesDataPoint.Builder>serializableBuilderClass()Stringtime()The timestamp when the measure value was collected.TimeSeriesDataPoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.Datumvalue()The measure value for the data point.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
time
public final String time()
The timestamp when the measure value was collected.
- Returns:
- The timestamp when the measure value was collected.
-
value
public final Datum value()
The measure value for the data point.
- Returns:
- The measure value for the data point.
-
toBuilder
public TimeSeriesDataPoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimeSeriesDataPoint.Builder,TimeSeriesDataPoint>
-
builder
public static TimeSeriesDataPoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimeSeriesDataPoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-