Interface DescribeAnomalyDetectorsRequest.Builder

    • 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 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

        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 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).

        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:
        #dimensions(java.util.Collection)
      • 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.