public static interface RecommendationRelatedAnomaly.Builder extends SdkPojo, CopyableBuilder<RecommendationRelatedAnomaly.Builder,RecommendationRelatedAnomaly>
| Modifier and Type | Method and Description |
|---|---|
RecommendationRelatedAnomaly.Builder |
anomalyId(String anomalyId)
The ID of an anomaly that generated the insight with this recommendation.
|
RecommendationRelatedAnomaly.Builder |
resources(Collection<RecommendationRelatedAnomalyResource> resources)
An array of objects that represent resources in which DevOps Guru detected anomalous behavior.
|
RecommendationRelatedAnomaly.Builder |
resources(Consumer<RecommendationRelatedAnomalyResource.Builder>... resources)
An array of objects that represent resources in which DevOps Guru detected anomalous behavior.
|
RecommendationRelatedAnomaly.Builder |
resources(RecommendationRelatedAnomalyResource... resources)
An array of objects that represent resources in which DevOps Guru detected anomalous behavior.
|
RecommendationRelatedAnomaly.Builder |
sourceDetails(Collection<RecommendationRelatedAnomalySourceDetail> sourceDetails)
Information about where the anomalous behavior related the recommendation was found.
|
RecommendationRelatedAnomaly.Builder |
sourceDetails(Consumer<RecommendationRelatedAnomalySourceDetail.Builder>... sourceDetails)
Information about where the anomalous behavior related the recommendation was found.
|
RecommendationRelatedAnomaly.Builder |
sourceDetails(RecommendationRelatedAnomalySourceDetail... sourceDetails)
Information about where the anomalous behavior related the recommendation was found.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendationRelatedAnomaly.Builder resources(Collection<RecommendationRelatedAnomalyResource> resources)
An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each object contains the name and type of the resource.
resources - An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each
object contains the name and type of the resource.RecommendationRelatedAnomaly.Builder resources(RecommendationRelatedAnomalyResource... resources)
An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each object contains the name and type of the resource.
resources - An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each
object contains the name and type of the resource.RecommendationRelatedAnomaly.Builder resources(Consumer<RecommendationRelatedAnomalyResource.Builder>... resources)
An array of objects that represent resources in which DevOps Guru detected anomalous behavior. Each object contains the name and type of the resource.
This is a convenience method that creates an instance of theRecommendationRelatedAnomalyResource.Builder
avoiding the need to create one manually via
RecommendationRelatedAnomalyResource.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #resources(List.
resources - a consumer that will call methods on
RecommendationRelatedAnomalyResource.Builder#resources(java.util.Collection) RecommendationRelatedAnomaly.Builder sourceDetails(Collection<RecommendationRelatedAnomalySourceDetail> sourceDetails)
Information about where the anomalous behavior related the recommendation was found. For example, details in Amazon CloudWatch metrics.
sourceDetails - Information about where the anomalous behavior related the recommendation was found. For example,
details in Amazon CloudWatch metrics.RecommendationRelatedAnomaly.Builder sourceDetails(RecommendationRelatedAnomalySourceDetail... sourceDetails)
Information about where the anomalous behavior related the recommendation was found. For example, details in Amazon CloudWatch metrics.
sourceDetails - Information about where the anomalous behavior related the recommendation was found. For example,
details in Amazon CloudWatch metrics.RecommendationRelatedAnomaly.Builder sourceDetails(Consumer<RecommendationRelatedAnomalySourceDetail.Builder>... sourceDetails)
Information about where the anomalous behavior related the recommendation was found. For example, details in Amazon CloudWatch metrics.
This is a convenience method that creates an instance of theRecommendationRelatedAnomalySourceDetail.Builder
avoiding the need to create one manually via
RecommendationRelatedAnomalySourceDetail.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #sourceDetails(List.
sourceDetails - a consumer that will call methods on
RecommendationRelatedAnomalySourceDetail.Builder#sourceDetails(java.util.Collection) RecommendationRelatedAnomaly.Builder anomalyId(String anomalyId)
The ID of an anomaly that generated the insight with this recommendation.
anomalyId - The ID of an anomaly that generated the insight with this recommendation.Copyright © 2023. All rights reserved.