public static interface ProactiveAnomaly.Builder extends SdkPojo, CopyableBuilder<ProactiveAnomaly.Builder,ProactiveAnomaly>
| Modifier and Type | Method and Description |
|---|---|
ProactiveAnomaly.Builder |
anomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is
opened and the time when it is closed. |
default ProactiveAnomaly.Builder |
anomalyReportedTimeRange(Consumer<AnomalyReportedTimeRange.Builder> anomalyReportedTimeRange)
An
AnomalyReportedTimeRange object that specifies the time range between when the anomaly is
opened and the time when it is closed. |
ProactiveAnomaly.Builder |
anomalyResources(AnomalyResource... anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
|
ProactiveAnomaly.Builder |
anomalyResources(Collection<AnomalyResource> anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
|
ProactiveAnomaly.Builder |
anomalyResources(Consumer<AnomalyResource.Builder>... anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
|
ProactiveAnomaly.Builder |
anomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
Sets the value of the AnomalyTimeRange property for this object.
|
default ProactiveAnomaly.Builder |
anomalyTimeRange(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange)
Sets the value of the AnomalyTimeRange property for this object.
|
ProactiveAnomaly.Builder |
associatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
ProactiveAnomaly.Builder |
description(String description)
A description of the proactive anomaly.
|
ProactiveAnomaly.Builder |
id(String id)
The ID of a proactive anomaly.
|
ProactiveAnomaly.Builder |
limit(Double limit)
A threshold that was exceeded by behavior in analyzed resources.
|
default ProactiveAnomaly.Builder |
predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object.
|
ProactiveAnomaly.Builder |
predictionTimeRange(PredictionTimeRange predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object.
|
default ProactiveAnomaly.Builder |
resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
ProactiveAnomaly.Builder |
resourceCollection(ResourceCollection resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
ProactiveAnomaly.Builder |
severity(AnomalySeverity severity)
The severity of the anomaly.
|
ProactiveAnomaly.Builder |
severity(String severity)
The severity of the anomaly.
|
ProactiveAnomaly.Builder |
sourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
default ProactiveAnomaly.Builder |
sourceDetails(Consumer<AnomalySourceDetails.Builder> sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
ProactiveAnomaly.Builder |
sourceMetadata(AnomalySourceMetadata sourceMetadata)
The metadata for the anomaly.
|
default ProactiveAnomaly.Builder |
sourceMetadata(Consumer<AnomalySourceMetadata.Builder> sourceMetadata)
The metadata for the anomaly.
|
ProactiveAnomaly.Builder |
status(AnomalyStatus status)
The status of a proactive anomaly.
|
ProactiveAnomaly.Builder |
status(String status)
The status of a proactive anomaly.
|
ProactiveAnomaly.Builder |
updateTime(Instant updateTime)
The time of the anomaly's most recent update.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProactiveAnomaly.Builder id(String id)
The ID of a proactive anomaly.
id - The ID of a proactive anomaly.ProactiveAnomaly.Builder severity(String severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
severity - The severity of the anomaly. The severity of anomalies that generate an insight determine that
insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.AnomalySeverity,
AnomalySeverityProactiveAnomaly.Builder severity(AnomalySeverity severity)
The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
severity - The severity of the anomaly. The severity of anomalies that generate an insight determine that
insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.AnomalySeverity,
AnomalySeverityProactiveAnomaly.Builder status(String status)
The status of a proactive anomaly.
status - The status of a proactive anomaly.AnomalyStatus,
AnomalyStatusProactiveAnomaly.Builder status(AnomalyStatus status)
The status of a proactive anomaly.
status - The status of a proactive anomaly.AnomalyStatus,
AnomalyStatusProactiveAnomaly.Builder updateTime(Instant updateTime)
The time of the anomaly's most recent update.
updateTime - The time of the anomaly's most recent update.ProactiveAnomaly.Builder anomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange - The new value for the AnomalyTimeRange property for this object.default ProactiveAnomaly.Builder anomalyTimeRange(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange)
AnomalyTimeRange.Builder avoiding the
need to create one manually via AnomalyTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to anomalyTimeRange(AnomalyTimeRange).
anomalyTimeRange - a consumer that will call methods on AnomalyTimeRange.BuilderanomalyTimeRange(AnomalyTimeRange)ProactiveAnomaly.Builder anomalyReportedTimeRange(AnomalyReportedTimeRange anomalyReportedTimeRange)
An AnomalyReportedTimeRange object that specifies the time range between when the anomaly is
opened and the time when it is closed.
anomalyReportedTimeRange - An AnomalyReportedTimeRange object that specifies the time range between when the anomaly
is opened and the time when it is closed.default ProactiveAnomaly.Builder anomalyReportedTimeRange(Consumer<AnomalyReportedTimeRange.Builder> anomalyReportedTimeRange)
An AnomalyReportedTimeRange object that specifies the time range between when the anomaly is
opened and the time when it is closed.
AnomalyReportedTimeRange.Builder
avoiding the need to create one manually via AnomalyReportedTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to anomalyReportedTimeRange(AnomalyReportedTimeRange).
anomalyReportedTimeRange - a consumer that will call methods on AnomalyReportedTimeRange.BuilderanomalyReportedTimeRange(AnomalyReportedTimeRange)ProactiveAnomaly.Builder predictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange - The new value for the PredictionTimeRange property for this object.default ProactiveAnomaly.Builder predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
PredictionTimeRange.Builder avoiding the
need to create one manually via PredictionTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to predictionTimeRange(PredictionTimeRange).
predictionTimeRange - a consumer that will call methods on PredictionTimeRange.BuilderpredictionTimeRange(PredictionTimeRange)ProactiveAnomaly.Builder sourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
sourceDetails - Details about the source of the analyzed operational data that triggered the anomaly. The one
supported source is Amazon CloudWatch metrics.default ProactiveAnomaly.Builder sourceDetails(Consumer<AnomalySourceDetails.Builder> sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
This is a convenience method that creates an instance of theAnomalySourceDetails.Builder avoiding
the need to create one manually via AnomalySourceDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sourceDetails(AnomalySourceDetails).
sourceDetails - a consumer that will call methods on AnomalySourceDetails.BuildersourceDetails(AnomalySourceDetails)ProactiveAnomaly.Builder associatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
associatedInsightId - The ID of the insight that contains this anomaly. An insight is composed of related anomalies.ProactiveAnomaly.Builder resourceCollection(ResourceCollection resourceCollection)
resourceCollection - The new value for the ResourceCollection property for this object.default ProactiveAnomaly.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
ResourceCollection.Builder avoiding the
need to create one manually via ResourceCollection.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourceCollection(ResourceCollection).
resourceCollection - a consumer that will call methods on ResourceCollection.BuilderresourceCollection(ResourceCollection)ProactiveAnomaly.Builder limit(Double limit)
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
limit - A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related
to the anomalous behavior that generated this anomaly.ProactiveAnomaly.Builder sourceMetadata(AnomalySourceMetadata sourceMetadata)
The metadata for the anomaly.
sourceMetadata - The metadata for the anomaly.default ProactiveAnomaly.Builder sourceMetadata(Consumer<AnomalySourceMetadata.Builder> sourceMetadata)
The metadata for the anomaly.
This is a convenience method that creates an instance of theAnomalySourceMetadata.Builder avoiding
the need to create one manually via AnomalySourceMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sourceMetadata(AnomalySourceMetadata).
sourceMetadata - a consumer that will call methods on AnomalySourceMetadata.BuildersourceMetadata(AnomalySourceMetadata)ProactiveAnomaly.Builder anomalyResources(Collection<AnomalyResource> anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
anomalyResources - Information about a resource in which DevOps Guru detected anomalous behavior.ProactiveAnomaly.Builder anomalyResources(AnomalyResource... anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
anomalyResources - Information about a resource in which DevOps Guru detected anomalous behavior.ProactiveAnomaly.Builder anomalyResources(Consumer<AnomalyResource.Builder>... anomalyResources)
Information about a resource in which DevOps Guru detected anomalous behavior.
This is a convenience method that creates an instance of theAnomalyResource.Builder avoiding the need to create
one manually via AnomalyResource.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #anomalyResources(List.
anomalyResources - a consumer that will call methods on
AnomalyResource.Builder#anomalyResources(java.util.Collection) ProactiveAnomaly.Builder description(String description)
A description of the proactive anomaly.
description - A description of the proactive anomaly.Copyright © 2023. All rights reserved.