Interface GetMetricDataResponse.Builder

    • Method Detail

      • nextToken

        GetMetricDataResponse.Builder nextToken​(String nextToken)

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

        The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.

        Parameters:
        nextToken - If there are additional results, this is the token for the next set of results.

        The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricResults

        GetMetricDataResponse.Builder metricResults​(Collection<HistoricalMetricResult> metricResults)

        Information about the historical metrics.

        If no grouping is specified, a summary of metric data is returned.

        Parameters:
        metricResults - Information about the historical metrics.

        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

        GetMetricDataResponse.Builder metricResults​(HistoricalMetricResult... metricResults)

        Information about the historical metrics.

        If no grouping is specified, a summary of metric data is returned.

        Parameters:
        metricResults - Information about the historical metrics.

        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.