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 Details

    • 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

      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 NextToken value.

      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 NextToken value.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      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

      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

      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

      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 the Dimension.Builder avoiding the need to create one manually via Dimension.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dimensions(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:
    • anomalyDetectorTypesWithStrings

      DescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypesWithStrings(Collection<String> anomalyDetectorTypes)

      The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults to SINGLE_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.
    • anomalyDetectorTypesWithStrings

      DescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypesWithStrings(String... anomalyDetectorTypes)

      The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults to SINGLE_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.
    • anomalyDetectorTypes

      DescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypes(Collection<AnomalyDetectorType> anomalyDetectorTypes)

      The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults to SINGLE_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.
    • anomalyDetectorTypes

      DescribeAnomalyDetectorsRequest.Builder anomalyDetectorTypes(AnomalyDetectorType... anomalyDetectorTypes)

      The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults to SINGLE_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.
    • overrideConfiguration

      DescribeAnomalyDetectorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.