Class MetricPoint
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.MetricPoint
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MetricPoint.Builder,MetricPoint>
@Generated("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 theendDate
. Currently onlyfive_minutes
is supported.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MetricPoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
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
-
startDate
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
.- Returns:
- 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
.
-
endDate
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
.- Returns:
- 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
.
-
value
public final Float value()
Returns the value of the Value property for this object.- Returns:
- The value of the Value property for this object.
-
status
public final String status()
The status of the metric point.
- Returns:
- The status of the metric point.
-
toBuilder
public MetricPoint.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<MetricPoint.Builder,MetricPoint>
-
builder
public static MetricPoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricPoint.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-