@Generated(value="software.amazon.awssdk:codegen") public final class DataPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataPoint.Builder,DataPoint>
A timestamp, and a single numerical value, which together represent a measurement at a particular point in time.
Modifier and Type | Class and Description |
---|---|
static interface |
DataPoint.Builder |
Modifier and Type | Method and Description |
---|---|
static DataPoint.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataPoint.Builder> |
serializableBuilderClass() |
Instant |
timestamp()
The time, in epoch format, associated with a particular
Value . |
DataPoint.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Double |
value()
The actual value associated with a particular
Timestamp . |
copy
public Instant timestamp()
The time, in epoch format, associated with a particular Value
.
Value
.public Double value()
The actual value associated with a particular Timestamp
.
Timestamp
.public DataPoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DataPoint.Builder,DataPoint>
public static DataPoint.Builder builder()
public static Class<? extends DataPoint.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.