@Generated(value="software.amazon.awssdk:codegen") public final class Anomaly extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Anomaly.Builder,Anomaly>
An unusual cost pattern. This consists of the detailed metadata and the current status of the anomaly object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Anomaly.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
anomalyEndDate()
The last day the anomaly is detected.
|
String |
anomalyId()
The unique identifier for the anomaly.
|
AnomalyScore |
anomalyScore()
The latest and maximum score for the anomaly.
|
String |
anomalyStartDate()
The first day the anomaly is detected.
|
static Anomaly.Builder |
builder() |
String |
dimensionValue()
The dimension for the anomaly.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
AnomalyFeedbackType |
feedback()
The feedback value.
|
String |
feedbackAsString()
The feedback value.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRootCauses()
Returns true if the RootCauses property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Impact |
impact()
The dollar impact for the anomaly.
|
String |
monitorArn()
The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
|
List<RootCause> |
rootCauses()
The list of identified root causes for the anomaly.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Anomaly.Builder> |
serializableBuilderClass() |
Anomaly.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String anomalyId()
The unique identifier for the anomaly.
public final String anomalyStartDate()
The first day the anomaly is detected.
public final String anomalyEndDate()
The last day the anomaly is detected.
public final String dimensionValue()
The dimension for the anomaly. For example, an AWS service in a service monitor.
public final boolean hasRootCauses()
public final List<RootCause> rootCauses()
The list of identified root causes for the anomaly.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRootCauses() to see if a value was sent in this field.
public final AnomalyScore anomalyScore()
The latest and maximum score for the anomaly.
public final Impact impact()
The dollar impact for the anomaly.
public final String monitorArn()
The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
public final AnomalyFeedbackType feedback()
The feedback value.
If the service returns an enum value that is not available in the current SDK version, feedback will
return AnomalyFeedbackType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from feedbackAsString().
AnomalyFeedbackTypepublic final String feedbackAsString()
The feedback value.
If the service returns an enum value that is not available in the current SDK version, feedback will
return AnomalyFeedbackType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from feedbackAsString().
AnomalyFeedbackTypepublic Anomaly.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Anomaly.Builder,Anomaly>public static Anomaly.Builder builder()
public static Class<? extends Anomaly.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.