Class MetricEvidenceDetails
java.lang.Object
software.amazon.awssdk.services.cloudwatchomni.model.MetricEvidenceDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricEvidenceDetails.Builder,MetricEvidenceDetails>
@Generated("software.amazon.awssdk:codegen")
public final class MetricEvidenceDetails
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<MetricEvidenceDetails.Builder,MetricEvidenceDetails>
This data type is part of Observations, which is in preview release for Amazon CloudWatch Omni and is subject to change.
Fields specific to a metric anomaly's evidence window. At most one member is present, matching the family of detector
that raised the occurrence; a plain deviation carries none of them and relies on measurement alone.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final MetricCountDropPresent when the metric's event volume fell away.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends MetricEvidenceDetails.Builder> final MetricSignalLossPresent when the metric stopped reporting.final MetricSignalOnsetPresent when the metric resumed reporting after an absence.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
signalLoss
Present when the metric stopped reporting.
- Returns:
- Present when the metric stopped reporting.
-
signalOnset
Present when the metric resumed reporting after an absence.
- Returns:
- Present when the metric resumed reporting after an absence.
-
countDrop
Present when the metric's event volume fell away.
- Returns:
- Present when the metric's event volume fell away.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricEvidenceDetails.Builder,MetricEvidenceDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-