Interface DescribeAnomalyDetectorsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchRequest.Builder,CopyableBuilder<DescribeAnomalyDetectorsRequest.Builder,DescribeAnomalyDetectorsRequest>,SdkBuilder<DescribeAnomalyDetectorsRequest.Builder,DescribeAnomalyDetectorsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeAnomalyDetectorsRequest
public static interface DescribeAnomalyDetectorsRequest.Builder extends CloudWatchRequest.Builder, SdkPojo, CopyableBuilder<DescribeAnomalyDetectorsRequest.Builder,DescribeAnomalyDetectorsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAnomalyDetectorsRequest.BuilderanomalyDetectorTypes(Collection<AnomalyDetectorType> anomalyDetectorTypes)The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.DescribeAnomalyDetectorsRequest.BuilderanomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes)The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.DescribeAnomalyDetectorsRequest.BuilderanomalyDetectorTypesWithStrings(String... anomalyDetectorTypes)The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.DescribeAnomalyDetectorsRequest.BuilderanomalyDetectorTypesWithStrings(Collection<String> anomalyDetectorTypes)The anomaly detector types to request when usingDescribeAnomalyDetectorsInput.DescribeAnomalyDetectorsRequest.Builderdimensions(Collection<Dimension> dimensions)Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.DescribeAnomalyDetectorsRequest.Builderdimensions(Consumer<Dimension.Builder>... dimensions)Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.DescribeAnomalyDetectorsRequest.Builderdimensions(Dimension... dimensions)Limits the results to only the anomaly detection models that are associated with the specified metric dimensions.DescribeAnomalyDetectorsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in one operation.DescribeAnomalyDetectorsRequest.BuildermetricName(String metricName)Limits the results to only the anomaly detection models that are associated with the specified metric name.DescribeAnomalyDetectorsRequest.Buildernamespace(String namespace)Limits the results to only the anomaly detection models that are associated with the specified namespace.DescribeAnomalyDetectorsRequest.BuildernextToken(String nextToken)Use the token returned by the previous operation to request the next page of results.DescribeAnomalyDetectorsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DescribeAnomalyDetectorsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.Builder
build
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
nextToken
DescribeAnomalyDetectorsRequest.Builder nextToken(String nextToken)
Use 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.
-
maxResults
DescribeAnomalyDetectorsRequest.Builder maxResults(Integer 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.- 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.
-
namespace
DescribeAnomalyDetectorsRequest.Builder namespace(String namespace)
Limits 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.
-
metricName
DescribeAnomalyDetectorsRequest.Builder metricName(String 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.
- 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.
-
dimensions
DescribeAnomalyDetectorsRequest.Builder dimensions(Collection<Dimension> 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.
- 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.
-
dimensions
DescribeAnomalyDetectorsRequest.Builder dimensions(Dimension... 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.
- 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.
-
dimensions
DescribeAnomalyDetectorsRequest.Builder dimensions(Consumer<Dimension.Builder>... 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.
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 to#dimensions(List.) - Parameters:
dimensions- a consumer that will call methods onDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dimensions(java.util.Collection)
-
anomalyDetectorTypesWithStrings
DescribeAnomalyDetectorsRequest.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 usingDescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorTypesWithStrings
DescribeAnomalyDetectorsRequest.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 usingDescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorTypes
DescribeAnomalyDetectorsRequest.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 usingDescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorTypes
DescribeAnomalyDetectorsRequest.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 usingDescribeAnomalyDetectorsInput. If empty, defaults toSINGLE_METRIC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeAnomalyDetectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeAnomalyDetectorsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-