Interface DescribeAnomalyDetectorsRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CloudWatchRequest.Builder,- CopyableBuilder<DescribeAnomalyDetectorsRequest.Builder,,- DescribeAnomalyDetectorsRequest> - SdkBuilder<DescribeAnomalyDetectorsRequest.Builder,,- DescribeAnomalyDetectorsRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- DescribeAnomalyDetectorsRequest
- 
Method SummaryModifier and TypeMethodDescriptionanomalyDetectorTypes(Collection<AnomalyDetectorType> anomalyDetectorTypes) The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.anomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes) The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.anomalyDetectorTypesWithStrings(String... anomalyDetectorTypes) The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.anomalyDetectorTypesWithStrings(Collection<String> anomalyDetectorTypes) The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.dimensions(Collection<Dimension> dimensions) Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.dimensions(Consumer<Dimension.Builder>... dimensions) Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.dimensions(Dimension... dimensions) Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.maxResults(Integer maxResults) The maximum number of results to return in one operation.metricName(String metricName) Limits the results to only the anomaly detection models that are associated with the specified metric name.Limits the results to only the anomaly detection models that are associated with the specified namespace.Use the token returned by the previous operation to request the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nextTokenUse the token returned by the previous operation to request the next page of results. - Parameters:
- nextToken- Use the token returned by the previous operation to request the next page of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe maximum number of results to return in one operation. The maximum value that you can specify is 100. To retrieve the remaining results, make another call with the returned NextTokenvalue.- Parameters:
- maxResults- The maximum number of results to return in one operation. The maximum value that you can specify is 100.- To retrieve the remaining results, make another call with the returned - NextTokenvalue.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
namespaceLimits the results to only the anomaly detection models that are associated with the specified namespace. - Parameters:
- namespace- Limits the results to only the anomaly detection models that are associated with the specified namespace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
metricNameLimits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned. - Parameters:
- metricName- Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsLimits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned. - Parameters:
- dimensions- Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsLimits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned. - Parameters:
- dimensions- Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsLimits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned. This is a convenience method that creates an instance of theDimension.Builderavoiding the need to create one manually viaDimension.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(List<Dimension>).- Parameters:
- dimensions- a consumer that will call methods on- Dimension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
anomalyDetectorTypesWithStringsDescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypesWithStrings(Collection<String> anomalyDetectorTypes) The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Parameters:
- anomalyDetectorTypes- The anomaly detector types to request when using- DescribeAnomalyDetectorsInput. If empty, defaults to- SINGLE_METRIC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
anomalyDetectorTypesWithStringsDescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypesWithStrings(String... anomalyDetectorTypes) The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Parameters:
- anomalyDetectorTypes- The anomaly detector types to request when using- DescribeAnomalyDetectorsInput. If empty, defaults to- SINGLE_METRIC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
anomalyDetectorTypesDescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypes(Collection<AnomalyDetectorType> anomalyDetectorTypes) The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Parameters:
- anomalyDetectorTypes- The anomaly detector types to request when using- DescribeAnomalyDetectorsInput. If empty, defaults to- SINGLE_METRIC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
anomalyDetectorTypesDescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes) The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Parameters:
- anomalyDetectorTypes- The anomaly detector types to request when using- DescribeAnomalyDetectorsInput. If empty, defaults to- SINGLE_METRIC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationDescribeAnomalyDetectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationDescribeAnomalyDetectorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-