@Generated(value="software.amazon.awssdk:codegen") public final class MetricPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricPoint.Builder,MetricPoint>
Indicates whether the network was healthy or degraded at a particular point. The value is aggregated from the
startDate
to the endDate
. Currently only five_minutes
is supported.
Modifier and Type | Class and Description |
---|---|
static interface |
MetricPoint.Builder |
Modifier and Type | Method and Description |
---|---|
static MetricPoint.Builder |
builder() |
Instant |
endDate()
The end date for the metric point.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricPoint.Builder> |
serializableBuilderClass() |
Instant |
startDate()
The start date for the metric point.
|
String |
status()
The status of the metric point.
|
MetricPoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Float |
value()
Returns the value of the Value property for this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Instant startDate()
The start date for the metric point. The starting date for the metric point. The starting time must be formatted
as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.
yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.public final Instant endDate()
The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
. For
example, 2022-06-12T12:00:00.000Z
.
yyyy-mm-ddThh:mm:ss
.
For example, 2022-06-12T12:00:00.000Z
.public final Float value()
public final String status()
The status of the metric point.
public MetricPoint.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<MetricPoint.Builder,MetricPoint>
public static MetricPoint.Builder builder()
public static Class<? extends MetricPoint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.