ToCopyableBuilder<Datapoint.Builder,Datapoint>
@Generated("software.amazon.awssdk:codegen") public class Datapoint extends Object implements ToCopyableBuilder<Datapoint.Builder,Datapoint>
Encapsulates the statistical data that Amazon CloudWatch computes from metric data.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Datapoint.Builder |
Modifier and Type | Method | Description |
---|---|---|
Double |
average() |
The average of the metric values that correspond to the data point.
|
static Datapoint.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Map<String,Double> |
extendedStatistics() |
The percentile statistic for the data point.
|
int |
hashCode() |
|
Double |
maximum() |
The maximum metric value for the data point.
|
Double |
minimum() |
The minimum metric value for the data point.
|
Double |
sampleCount() |
The number of metric values that contributed to the aggregate value of this data point.
|
static Class<? extends Datapoint.Builder> |
serializableBuilderClass() |
|
Double |
sum() |
The sum of the metric values for the data point.
|
Date |
timestamp() |
The time stamp used for the data point.
|
Datapoint.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
unit() |
The standard unit for the data point.
|
public Date timestamp()
The time stamp used for the data point.
public Double sampleCount()
The number of metric values that contributed to the aggregate value of this data point.
public Double average()
The average of the metric values that correspond to the data point.
public Double sum()
The sum of the metric values for the data point.
public Double minimum()
The minimum metric value for the data point.
public Double maximum()
The maximum metric value for the data point.
public String unit()
The standard unit for the data point.
StandardUnit
public Map<String,Double> extendedStatistics()
The percentile statistic for the data point.
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.