Class InterMetricImpactDetails
- java.lang.Object
-
- software.amazon.awssdk.services.lookoutmetrics.model.InterMetricImpactDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InterMetricImpactDetails.Builder,InterMetricImpactDetails>
@Generated("software.amazon.awssdk:codegen") public final class InterMetricImpactDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InterMetricImpactDetails.Builder,InterMetricImpactDetails>
Aggregated details about the measures contributing to the anomaly group, and the measures potentially impacted by the anomaly group.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInterMetricImpactDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringanomalyGroupId()The ID of the anomaly group.static InterMetricImpactDetails.Builderbuilder()DoublecontributionPercentage()For potential causes (CAUSE_OF_INPUT_ANOMALY_GROUP), the percentage contribution the measure has in causing the anomalies.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmetricName()The name of the measure.RelationshipTyperelationshipType()Whether a measure is a potential cause of the anomaly group (CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).StringrelationshipTypeAsString()Whether a measure is a potential cause of the anomaly group (CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).List<SdkField<?>>sdkFields()static Class<? extends InterMetricImpactDetails.Builder>serializableBuilderClass()InterMetricImpactDetails.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
-
metricName
public final String metricName()
The name of the measure.
- Returns:
- The name of the measure.
-
anomalyGroupId
public final String anomalyGroupId()
The ID of the anomaly group.
- Returns:
- The ID of the anomaly group.
-
relationshipType
public final RelationshipType relationshipType()
Whether a measure is a potential cause of the anomaly group (
CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).If the service returns an enum value that is not available in the current SDK version,
relationshipTypewill returnRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelationshipTypeAsString().- Returns:
- Whether a measure is a potential cause of the anomaly group (
CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP). - See Also:
RelationshipType
-
relationshipTypeAsString
public final String relationshipTypeAsString()
Whether a measure is a potential cause of the anomaly group (
CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP).If the service returns an enum value that is not available in the current SDK version,
relationshipTypewill returnRelationshipType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelationshipTypeAsString().- Returns:
- Whether a measure is a potential cause of the anomaly group (
CAUSE_OF_INPUT_ANOMALY_GROUP), or whether the measure is impacted by the anomaly group (EFFECT_OF_INPUT_ANOMALY_GROUP). - See Also:
RelationshipType
-
contributionPercentage
public final Double contributionPercentage()
For potential causes (
CAUSE_OF_INPUT_ANOMALY_GROUP), the percentage contribution the measure has in causing the anomalies.- Returns:
- For potential causes (
CAUSE_OF_INPUT_ANOMALY_GROUP), the percentage contribution the measure has in causing the anomalies.
-
toBuilder
public InterMetricImpactDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InterMetricImpactDetails.Builder,InterMetricImpactDetails>
-
builder
public static InterMetricImpactDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends InterMetricImpactDetails.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.
-
-