Interface GetMetricDataV2Response.Builder

  • Method Details

    • nextToken

      If there are additional results, this is the token for the next set of results.

      Parameters:
      nextToken - If there are additional results, this is the token for the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricResults

      Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.

      Parameters:
      metricResults - Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricResults

      GetMetricDataV2Response.Builder metricResults(MetricResultV2... metricResults)

      Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.

      Parameters:
      metricResults - Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricResults

      Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.

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

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

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