public static interface Anomaly.Builder extends SdkPojo, CopyableBuilder<Anomaly.Builder,Anomaly>
| Modifier and Type | Method and Description |
|---|---|
Anomaly.Builder |
anomalyEndDate(String anomalyEndDate)
The last day the anomaly is detected.
|
Anomaly.Builder |
anomalyId(String anomalyId)
The unique identifier for the anomaly.
|
Anomaly.Builder |
anomalyScore(AnomalyScore anomalyScore)
The latest and maximum score for the anomaly.
|
default Anomaly.Builder |
anomalyScore(Consumer<AnomalyScore.Builder> anomalyScore)
The latest and maximum score for the anomaly.
|
Anomaly.Builder |
anomalyStartDate(String anomalyStartDate)
The first day the anomaly is detected.
|
Anomaly.Builder |
dimensionValue(String dimensionValue)
The dimension for the anomaly (for example, an Amazon Web Service in a service monitor).
|
Anomaly.Builder |
feedback(AnomalyFeedbackType feedback)
The feedback value.
|
Anomaly.Builder |
feedback(String feedback)
The feedback value.
|
default Anomaly.Builder |
impact(Consumer<Impact.Builder> impact)
The dollar impact for the anomaly.
|
Anomaly.Builder |
impact(Impact impact)
The dollar impact for the anomaly.
|
Anomaly.Builder |
monitorArn(String monitorArn)
The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
|
Anomaly.Builder |
rootCauses(Collection<RootCause> rootCauses)
The list of identified root causes for the anomaly.
|
Anomaly.Builder |
rootCauses(Consumer<RootCause.Builder>... rootCauses)
The list of identified root causes for the anomaly.
|
Anomaly.Builder |
rootCauses(RootCause... rootCauses)
The list of identified root causes for the anomaly.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnomaly.Builder anomalyId(String anomalyId)
The unique identifier for the anomaly.
anomalyId - The unique identifier for the anomaly.Anomaly.Builder anomalyStartDate(String anomalyStartDate)
The first day the anomaly is detected.
anomalyStartDate - The first day the anomaly is detected.Anomaly.Builder anomalyEndDate(String anomalyEndDate)
The last day the anomaly is detected.
anomalyEndDate - The last day the anomaly is detected.Anomaly.Builder dimensionValue(String dimensionValue)
The dimension for the anomaly (for example, an Amazon Web Service in a service monitor).
dimensionValue - The dimension for the anomaly (for example, an Amazon Web Service in a service monitor).Anomaly.Builder rootCauses(Collection<RootCause> rootCauses)
The list of identified root causes for the anomaly.
rootCauses - The list of identified root causes for the anomaly.Anomaly.Builder rootCauses(RootCause... rootCauses)
The list of identified root causes for the anomaly.
rootCauses - The list of identified root causes for the anomaly.Anomaly.Builder rootCauses(Consumer<RootCause.Builder>... rootCauses)
The list of identified root causes for the anomaly.
This is a convenience method that creates an instance of theRootCause.Builder avoiding the need to create one
manually via RootCause.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #rootCauses(List.
rootCauses - a consumer that will call methods on
RootCause.Builder#rootCauses(java.util.Collection) Anomaly.Builder anomalyScore(AnomalyScore anomalyScore)
The latest and maximum score for the anomaly.
anomalyScore - The latest and maximum score for the anomaly.default Anomaly.Builder anomalyScore(Consumer<AnomalyScore.Builder> anomalyScore)
The latest and maximum score for the anomaly.
This is a convenience method that creates an instance of theAnomalyScore.Builder avoiding the need
to create one manually via AnomalyScore.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to anomalyScore(AnomalyScore).
anomalyScore - a consumer that will call methods on AnomalyScore.BuilderanomalyScore(AnomalyScore)Anomaly.Builder impact(Impact impact)
The dollar impact for the anomaly.
impact - The dollar impact for the anomaly.default Anomaly.Builder impact(Consumer<Impact.Builder> impact)
The dollar impact for the anomaly.
This is a convenience method that creates an instance of theImpact.Builder avoiding the need to
create one manually via Impact.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to impact(Impact).
impact - a consumer that will call methods on Impact.Builderimpact(Impact)Anomaly.Builder monitorArn(String monitorArn)
The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
monitorArn - The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.Anomaly.Builder feedback(String feedback)
The feedback value.
feedback - The feedback value.AnomalyFeedbackType,
AnomalyFeedbackTypeAnomaly.Builder feedback(AnomalyFeedbackType feedback)
The feedback value.
feedback - The feedback value.AnomalyFeedbackType,
AnomalyFeedbackTypeCopyright © 2023. All rights reserved.