public static interface ReactiveAnomaly.Builder extends SdkPojo, CopyableBuilder<ReactiveAnomaly.Builder,ReactiveAnomaly>
| Modifier and Type | Method and Description |
|---|---|
ReactiveAnomaly.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 ReactiveAnomaly.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. |
ReactiveAnomaly.Builder |
anomalyResources(AnomalyResource... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
ReactiveAnomaly.Builder |
anomalyResources(Collection<AnomalyResource> anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
ReactiveAnomaly.Builder |
anomalyResources(Consumer<AnomalyResource.Builder>... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
|
ReactiveAnomaly.Builder |
anomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
Sets the value of the AnomalyTimeRange property for this object.
|
default ReactiveAnomaly.Builder |
anomalyTimeRange(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange)
Sets the value of the AnomalyTimeRange property for this object.
|
ReactiveAnomaly.Builder |
associatedInsightId(String associatedInsightId)
The ID of the insight that contains this anomaly.
|
ReactiveAnomaly.Builder |
causalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly.
|
ReactiveAnomaly.Builder |
description(String description)
A description of the reactive anomaly.
|
ReactiveAnomaly.Builder |
id(String id)
The ID of the reactive anomaly.
|
ReactiveAnomaly.Builder |
name(String name)
The name of the reactive anomaly.
|
default ReactiveAnomaly.Builder |
resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
ReactiveAnomaly.Builder |
resourceCollection(ResourceCollection resourceCollection)
Sets the value of the ResourceCollection property for this object.
|
ReactiveAnomaly.Builder |
severity(AnomalySeverity severity)
The severity of the anomaly.
|
ReactiveAnomaly.Builder |
severity(String severity)
The severity of the anomaly.
|
ReactiveAnomaly.Builder |
sourceDetails(AnomalySourceDetails sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
default ReactiveAnomaly.Builder |
sourceDetails(Consumer<AnomalySourceDetails.Builder> sourceDetails)
Details about the source of the analyzed operational data that triggered the anomaly.
|
ReactiveAnomaly.Builder |
status(AnomalyStatus status)
The status of the anomaly.
|
ReactiveAnomaly.Builder |
status(String status)
The status of the anomaly.
|
ReactiveAnomaly.Builder |
type(AnomalyType type)
The type of the reactive anomaly.
|
ReactiveAnomaly.Builder |
type(String type)
The type of the reactive anomaly.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReactiveAnomaly.Builder id(String id)
The ID of the reactive anomaly.
id - The ID of the reactive anomaly.ReactiveAnomaly.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,
AnomalySeverityReactiveAnomaly.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,
AnomalySeverityReactiveAnomaly.Builder status(String status)
The status of the anomaly.
status - The status of the anomaly.AnomalyStatus,
AnomalyStatusReactiveAnomaly.Builder status(AnomalyStatus status)
The status of the anomaly.
status - The status of the anomaly.AnomalyStatus,
AnomalyStatusReactiveAnomaly.Builder anomalyTimeRange(AnomalyTimeRange anomalyTimeRange)
anomalyTimeRange - The new value for the AnomalyTimeRange property for this object.default ReactiveAnomaly.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)ReactiveAnomaly.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 ReactiveAnomaly.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)ReactiveAnomaly.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 ReactiveAnomaly.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)ReactiveAnomaly.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.ReactiveAnomaly.Builder resourceCollection(ResourceCollection resourceCollection)
resourceCollection - The new value for the ResourceCollection property for this object.default ReactiveAnomaly.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)ReactiveAnomaly.Builder type(String type)
The type of the reactive anomaly. It can be one of the following types.
CAUSAL - the anomaly can cause a new insight.
CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.
type - The type of the reactive anomaly. It can be one of the following types.
CAUSAL - the anomaly can cause a new insight.
CONTEXTUAL - the anomaly contains additional information about an insight or its causal
anomaly.
AnomalyType,
AnomalyTypeReactiveAnomaly.Builder type(AnomalyType type)
The type of the reactive anomaly. It can be one of the following types.
CAUSAL - the anomaly can cause a new insight.
CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.
type - The type of the reactive anomaly. It can be one of the following types.
CAUSAL - the anomaly can cause a new insight.
CONTEXTUAL - the anomaly contains additional information about an insight or its causal
anomaly.
AnomalyType,
AnomalyTypeReactiveAnomaly.Builder name(String name)
The name of the reactive anomaly.
name - The name of the reactive anomaly.ReactiveAnomaly.Builder description(String description)
A description of the reactive anomaly.
description - A description of the reactive anomaly.ReactiveAnomaly.Builder causalAnomalyId(String causalAnomalyId)
The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
causalAnomalyId - The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL`
anomaly is always `NULL`.ReactiveAnomaly.Builder anomalyResources(Collection<AnomalyResource> anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
anomalyResources - The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.ReactiveAnomaly.Builder anomalyResources(AnomalyResource... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
anomalyResources - The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.ReactiveAnomaly.Builder anomalyResources(Consumer<AnomalyResource.Builder>... anomalyResources)
The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
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) Copyright © 2023. All rights reserved.