Interface AnomalySourceDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnomalySourceDetails.Builder,,AnomalySourceDetails> SdkBuilder<AnomalySourceDetails.Builder,,AnomalySourceDetails> SdkPojo
- Enclosing class:
AnomalySourceDetails
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchMetrics(Collection<CloudWatchMetricsDetail> cloudWatchMetrics) An array ofCloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.cloudWatchMetrics(Consumer<CloudWatchMetricsDetail.Builder>... cloudWatchMetrics) An array ofCloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.cloudWatchMetrics(CloudWatchMetricsDetail... cloudWatchMetrics) An array ofCloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.performanceInsightsMetrics(Collection<PerformanceInsightsMetricsDetail> performanceInsightsMetrics) An array ofPerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.performanceInsightsMetrics(Consumer<PerformanceInsightsMetricsDetail.Builder>... performanceInsightsMetrics) An array ofPerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.performanceInsightsMetrics(PerformanceInsightsMetricsDetail... performanceInsightsMetrics) An array ofPerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cloudWatchMetrics
AnomalySourceDetails.Builder cloudWatchMetrics(Collection<CloudWatchMetricsDetail> cloudWatchMetrics) An array of
CloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.- Parameters:
cloudWatchMetrics- An array ofCloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchMetrics
An array of
CloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.- Parameters:
cloudWatchMetrics- An array ofCloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchMetrics
AnomalySourceDetails.Builder cloudWatchMetrics(Consumer<CloudWatchMetricsDetail.Builder>... cloudWatchMetrics) An array of
This is a convenience method that creates an instance of theCloudWatchMetricsDetailobjects that contain information about analyzed CloudWatch metrics that show anomalous behavior.CloudWatchMetricsDetail.Builderavoiding the need to create one manually viaCloudWatchMetricsDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchMetrics(List<CloudWatchMetricsDetail>).- Parameters:
cloudWatchMetrics- a consumer that will call methods onCloudWatchMetricsDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performanceInsightsMetrics
AnomalySourceDetails.Builder performanceInsightsMetrics(Collection<PerformanceInsightsMetricsDetail> performanceInsightsMetrics) An array of
PerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.- Parameters:
performanceInsightsMetrics- An array ofPerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsMetrics
AnomalySourceDetails.Builder performanceInsightsMetrics(PerformanceInsightsMetricsDetail... performanceInsightsMetrics) An array of
PerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.- Parameters:
performanceInsightsMetrics- An array ofPerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performanceInsightsMetrics
AnomalySourceDetails.Builder performanceInsightsMetrics(Consumer<PerformanceInsightsMetricsDetail.Builder>... performanceInsightsMetrics) An array of
This is a convenience method that creates an instance of thePerformanceInsightsMetricsDetailobjects that contain information about analyzed Performance Insights metrics that show anomalous behavior.PerformanceInsightsMetricsDetail.Builderavoiding the need to create one manually viaPerformanceInsightsMetricsDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperformanceInsightsMetrics(List<PerformanceInsightsMetricsDetail>).- Parameters:
performanceInsightsMetrics- a consumer that will call methods onPerformanceInsightsMetricsDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-