Interface RecommendationRelatedAnomalySourceDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecommendationRelatedAnomalySourceDetail.Builder,RecommendationRelatedAnomalySourceDetail>,SdkBuilder<RecommendationRelatedAnomalySourceDetail.Builder,RecommendationRelatedAnomalySourceDetail>,SdkPojo
- Enclosing class:
- RecommendationRelatedAnomalySourceDetail
public static interface RecommendationRelatedAnomalySourceDetail.Builder extends SdkPojo, CopyableBuilder<RecommendationRelatedAnomalySourceDetail.Builder,RecommendationRelatedAnomalySourceDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecommendationRelatedAnomalySourceDetail.BuildercloudWatchMetrics(Collection<RecommendationRelatedCloudWatchMetricsSourceDetail> cloudWatchMetrics)An array ofCloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.RecommendationRelatedAnomalySourceDetail.BuildercloudWatchMetrics(Consumer<RecommendationRelatedCloudWatchMetricsSourceDetail.Builder>... cloudWatchMetrics)An array ofCloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.RecommendationRelatedAnomalySourceDetail.BuildercloudWatchMetrics(RecommendationRelatedCloudWatchMetricsSourceDetail... cloudWatchMetrics)An array ofCloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.-
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 Detail
-
cloudWatchMetrics
RecommendationRelatedAnomalySourceDetail.Builder cloudWatchMetrics(Collection<RecommendationRelatedCloudWatchMetricsSourceDetail> cloudWatchMetrics)
An array of
CloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.- Parameters:
cloudWatchMetrics- An array ofCloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchMetrics
RecommendationRelatedAnomalySourceDetail.Builder cloudWatchMetrics(RecommendationRelatedCloudWatchMetricsSourceDetail... cloudWatchMetrics)
An array of
CloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.- Parameters:
cloudWatchMetrics- An array ofCloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchMetrics
RecommendationRelatedAnomalySourceDetail.Builder cloudWatchMetrics(Consumer<RecommendationRelatedCloudWatchMetricsSourceDetail.Builder>... cloudWatchMetrics)
An array of
This is a convenience method that creates an instance of theCloudWatchMetricsDetailobjects that contains information about the analyzed metrics that displayed anomalous behavior.RecommendationRelatedCloudWatchMetricsSourceDetail.Builderavoiding the need to create one manually viaRecommendationRelatedCloudWatchMetricsSourceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cloudWatchMetrics(List.) - Parameters:
cloudWatchMetrics- a consumer that will call methods onRecommendationRelatedCloudWatchMetricsSourceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#cloudWatchMetrics(java.util.Collection)
-
-