Class TimestampMetricValuePair
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.TimestampMetricValuePair
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimestampMetricValuePair.Builder,TimestampMetricValuePair>
@Generated("software.amazon.awssdk:codegen") public final class TimestampMetricValuePair extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimestampMetricValuePair.Builder,TimestampMetricValuePair>
A pair that contains metric values at the respective timestamp.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTimestampMetricValuePair.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestampMetricValuePair.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemetricValue()Value of the anomalous metric data point at respective Timestamp.List<SdkField<?>>sdkFields()static Class<? extends TimestampMetricValuePair.Builder>serializableBuilderClass()Instanttimestamp()ATimestampthat specifies the time the event occurred.TimestampMetricValuePair.BuildertoBuilder()StringtoString()Returns a string representation of 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
-
timestamp
public final Instant timestamp()
A
Timestampthat specifies the time the event occurred.- Returns:
- A
Timestampthat specifies the time the event occurred.
-
metricValue
public final Double metricValue()
Value of the anomalous metric data point at respective Timestamp.
- Returns:
- Value of the anomalous metric data point at respective Timestamp.
-
toBuilder
public TimestampMetricValuePair.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimestampMetricValuePair.Builder,TimestampMetricValuePair>
-
builder
public static TimestampMetricValuePair.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimestampMetricValuePair.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.
-
-