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
startDateto theendDate. Currently onlyfive_minutesis supported.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricPoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricPoint.Builderbuilder()InstantendDate()The end date for the metric point.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MetricPoint.Builder>serializableBuilderClass()InstantstartDate()The start date for the metric point.Stringstatus()The status of the metric point.MetricPoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.Floatvalue()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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-