Interface ListAvailableResourceMetricsResponse.Builder

    • Method Detail

      • metrics

        ListAvailableResourceMetricsResponse.Builder metrics​(Collection<ResponseResourceMetric> metrics)

        An array of metrics available to query. Each array element contains the full name, description, and unit of the metric.

        Parameters:
        metrics - An array of metrics available to query. Each array element contains the full name, description, and unit of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metrics

        ListAvailableResourceMetricsResponse.Builder metrics​(ResponseResourceMetric... metrics)

        An array of metrics available to query. Each array element contains the full name, description, and unit of the metric.

        Parameters:
        metrics - An array of metrics available to query. Each array element contains the full name, description, and unit of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListAvailableResourceMetricsResponse.Builder nextToken​(String nextToken)

        A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value.

        Parameters:
        nextToken - A pagination token that indicates the response didn’t return all available records because MaxRecords was specified in the previous request. To get the remaining records, specify NextToken in a separate request with this value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.