Interface ListMetricSetsRequest.Builder

  • Method Details

    • anomalyDetectorArn

      ListMetricSetsRequest.Builder anomalyDetectorArn(String anomalyDetectorArn)

      The ARN of the anomaly detector containing the metrics sets to list.

      Parameters:
      anomalyDetectorArn - The ARN of the anomaly detector containing the metrics sets to list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListMetricSetsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return.

      Parameters:
      maxResults - The maximum number of results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListMetricSetsRequest.Builder nextToken(String nextToken)

      If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

      Parameters:
      nextToken - If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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