Interface GetCapacityManagerMetricDataResponse.Builder

  • Method Details

    • metricDataResults

      The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.

      Parameters:
      metricDataResults - The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDataResults

      GetCapacityManagerMetricDataResponse.Builder metricDataResults(MetricDataResult... metricDataResults)

      The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.

      Parameters:
      metricDataResults - The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDataResults

      The metric data points returned by the query. Each result contains dimension values, timestamp, and metric values with their associated statistics.

      This is a convenience method that creates an instance of the MetricDataResult.Builder avoiding the need to create one manually via MetricDataResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricDataResults(List<MetricDataResult>).

      Parameters:
      metricDataResults - a consumer that will call methods on MetricDataResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

      Parameters:
      nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.