Interface ProactiveAnomalySummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProactiveAnomalySummary.Builder,
,ProactiveAnomalySummary> SdkBuilder<ProactiveAnomalySummary.Builder,
,ProactiveAnomalySummary> SdkPojo
- Enclosing class:
ProactiveAnomalySummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProactiveAnomalySummary.Builder
anomalyReportedTimeRange
(Consumer<AnomalyReportedTimeRange.Builder> anomalyReportedTimeRange) AnAnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.anomalyReportedTimeRange
(AnomalyReportedTimeRange anomalyReportedTimeRange) AnAnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.anomalyResources
(Collection<AnomalyResource> anomalyResources) Information about a resource in which DevOps Guru detected anomalous behavior.anomalyResources
(Consumer<AnomalyResource.Builder>... anomalyResources) Information about a resource in which DevOps Guru detected anomalous behavior.anomalyResources
(AnomalyResource... anomalyResources) Information about a resource in which DevOps Guru detected anomalous behavior.default ProactiveAnomalySummary.Builder
anomalyTimeRange
(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange) Sets the value of the AnomalyTimeRange property for this object.anomalyTimeRange
(AnomalyTimeRange anomalyTimeRange) Sets the value of the AnomalyTimeRange property for this object.associatedInsightId
(String associatedInsightId) The ID of the insight that contains this anomaly.description
(String description) A description of the proactive anomaly.The ID of the anomaly.A threshold that was exceeded by behavior in analyzed resources.default ProactiveAnomalySummary.Builder
predictionTimeRange
(Consumer<PredictionTimeRange.Builder> predictionTimeRange) Sets the value of the PredictionTimeRange property for this object.predictionTimeRange
(PredictionTimeRange predictionTimeRange) Sets the value of the PredictionTimeRange property for this object.default ProactiveAnomalySummary.Builder
resourceCollection
(Consumer<ResourceCollection.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object.resourceCollection
(ResourceCollection resourceCollection) Sets the value of the ResourceCollection property for this object.The severity of the anomaly.severity
(AnomalySeverity severity) The severity of the anomaly.default ProactiveAnomalySummary.Builder
sourceDetails
(Consumer<AnomalySourceDetails.Builder> sourceDetails) Details about the source of the analyzed operational data that triggered the anomaly.sourceDetails
(AnomalySourceDetails sourceDetails) Details about the source of the analyzed operational data that triggered the anomaly.default ProactiveAnomalySummary.Builder
sourceMetadata
(Consumer<AnomalySourceMetadata.Builder> sourceMetadata) The metadata of the source which detects proactive anomalies.sourceMetadata
(AnomalySourceMetadata sourceMetadata) The metadata of the source which detects proactive anomalies.The status of the anomaly.status
(AnomalyStatus status) The status of the anomaly.updateTime
(Instant updateTime) The time of the anomaly's most recent update.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
id
The ID of the anomaly.
- Parameters:
id
- The ID of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the anomaly.
- Parameters:
status
- The status of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the anomaly.
- Parameters:
status
- The status of the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateTime
The time of the anomaly's most recent update.
- Parameters:
updateTime
- The time of the anomaly's most recent update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyTimeRange
Sets the value of the AnomalyTimeRange property for this object.- Parameters:
anomalyTimeRange
- The new value for the AnomalyTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyTimeRange
default ProactiveAnomalySummary.Builder anomalyTimeRange(Consumer<AnomalyTimeRange.Builder> anomalyTimeRange) Sets the value of the AnomalyTimeRange property for this object. This is a convenience method that creates an instance of theAnomalyTimeRange.Builder
avoiding the need to create one manually viaAnomalyTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyTimeRange(AnomalyTimeRange)
.- Parameters:
anomalyTimeRange
- a consumer that will call methods onAnomalyTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anomalyReportedTimeRange
ProactiveAnomalySummary.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.- Parameters:
anomalyReportedTimeRange
- AnAnomalyReportedTimeRange
object that specifies the time range between when the anomaly is opened and the time when it is closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyReportedTimeRange
default ProactiveAnomalySummary.Builder anomalyReportedTimeRange(Consumer<AnomalyReportedTimeRange.Builder> anomalyReportedTimeRange) An
This is a convenience method that creates an instance of theAnomalyReportedTimeRange
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 viaAnomalyReportedTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyReportedTimeRange(AnomalyReportedTimeRange)
.- Parameters:
anomalyReportedTimeRange
- a consumer that will call methods onAnomalyReportedTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
predictionTimeRange
Sets the value of the PredictionTimeRange property for this object.- Parameters:
predictionTimeRange
- The new value for the PredictionTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionTimeRange
default ProactiveAnomalySummary.Builder predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange) Sets the value of the PredictionTimeRange property for this object. This is a convenience method that creates an instance of thePredictionTimeRange.Builder
avoiding the need to create one manually viaPredictionTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredictionTimeRange(PredictionTimeRange)
.- Parameters:
predictionTimeRange
- a consumer that will call methods onPredictionTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDetails
Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
- Parameters:
sourceDetails
- Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDetails
default ProactiveAnomalySummary.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 viaAnomalySourceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceDetails(AnomalySourceDetails)
.- Parameters:
sourceDetails
- a consumer that will call methods onAnomalySourceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedInsightId
The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
- Parameters:
associatedInsightId
- The ID of the insight that contains this anomaly. An insight is composed of related anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
Sets the value of the ResourceCollection property for this object.- Parameters:
resourceCollection
- The new value for the ResourceCollection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
default ProactiveAnomalySummary.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object. This is a convenience method that creates an instance of theResourceCollection.Builder
avoiding the need to create one manually viaResourceCollection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceCollection(ResourceCollection)
.- Parameters:
resourceCollection
- a consumer that will call methods onResourceCollection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limit
A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.
- Parameters:
limit
- A threshold that was exceeded by behavior in analyzed resources. Exceeding this threshold is related to the anomalous behavior that generated this anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceMetadata
The metadata of the source which detects proactive anomalies.
- Parameters:
sourceMetadata
- The metadata of the source which detects proactive anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceMetadata
default ProactiveAnomalySummary.Builder sourceMetadata(Consumer<AnomalySourceMetadata.Builder> sourceMetadata) The metadata of the source which detects proactive anomalies.
This is a convenience method that creates an instance of theAnomalySourceMetadata.Builder
avoiding the need to create one manually viaAnomalySourceMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceMetadata(AnomalySourceMetadata)
.- Parameters:
sourceMetadata
- a consumer that will call methods onAnomalySourceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anomalyResources
Information about a resource in which DevOps Guru detected anomalous behavior.
- Parameters:
anomalyResources
- Information about a resource in which DevOps Guru detected anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyResources
Information about a resource in which DevOps Guru detected anomalous behavior.
- Parameters:
anomalyResources
- Information about a resource in which DevOps Guru detected anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyResources
ProactiveAnomalySummary.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 viaAnomalyResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyResources(List<AnomalyResource>)
.- Parameters:
anomalyResources
- a consumer that will call methods onAnomalyResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the proactive anomaly.
- Parameters:
description
- A description of the proactive anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-