StructuredPojo
, ToCopyableBuilder<MetricDatapoint.Builder,MetricDatapoint>
@Generated("software.amazon.awssdk:codegen") public class MetricDatapoint extends Object implements StructuredPojo, ToCopyableBuilder<MetricDatapoint.Builder,MetricDatapoint>
Describes the metric data point.
Modifier and Type | Class | Description |
---|---|---|
static interface |
MetricDatapoint.Builder |
Modifier and Type | Method | Description |
---|---|---|
Double |
average() |
The average.
|
static MetricDatapoint.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Double |
maximum() |
The maximum.
|
Double |
minimum() |
The minimum.
|
Double |
sampleCount() |
The sample count.
|
static Class<? extends MetricDatapoint.Builder> |
serializableBuilderClass() |
|
Double |
sum() |
The sum.
|
Date |
timestamp() |
The timestamp (e.g.,
1479816991.349 ). |
MetricDatapoint.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 unit.
|
public Double average()
The average.
public Double maximum()
The maximum.
public Double minimum()
The minimum.
public Double sampleCount()
The sample count.
public Double sum()
The sum.
public Date timestamp()
The timestamp (e.g., 1479816991.349
).
1479816991.349
).public String unit()
The unit.
MetricUnit
public MetricDatapoint.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MetricDatapoint.Builder,MetricDatapoint>
public static MetricDatapoint.Builder builder()
public static Class<? extends MetricDatapoint.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.