public static interface ReactiveAnomaly.Builder extends SdkPojo, CopyableBuilder<ReactiveAnomaly.Builder,ReactiveAnomaly>
| Modifier and Type | Method and Description |
|---|---|
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 |
id(String id)
The ID 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.
|
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.
severity - The severity of the anomaly.AnomalySeverity,
AnomalySeverityReactiveAnomaly.Builder severity(AnomalySeverity severity)
The severity of the anomaly.
severity - The severity of the anomaly.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 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 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)Copyright © 2021. All rights reserved.