Interface ListMetricValuesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListMetricValuesResponse.Builder,ListMetricValuesResponse>, IotResponse.Builder, SdkBuilder<ListMetricValuesResponse.Builder,ListMetricValuesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListMetricValuesResponse

public static interface ListMetricValuesResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListMetricValuesResponse.Builder,ListMetricValuesResponse>
  • Method Details

    • metricDatumList

      ListMetricValuesResponse.Builder metricDatumList(Collection<MetricDatum> metricDatumList)

      The data the thing reports for the metric during the specified time period.

      Parameters:
      metricDatumList - The data the thing reports for the metric during the specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDatumList

      ListMetricValuesResponse.Builder metricDatumList(MetricDatum... metricDatumList)

      The data the thing reports for the metric during the specified time period.

      Parameters:
      metricDatumList - The data the thing reports for the metric during the specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDatumList

      ListMetricValuesResponse.Builder metricDatumList(Consumer<MetricDatum.Builder>... metricDatumList)

      The data the thing reports for the metric during the specified time period.

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

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

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

      A token that can be used to retrieve the next set of results, or null if there are no additional results.

      Parameters:
      nextToken - A token that can be used to retrieve the next set of results, or null if there are no additional results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.