Interface ListMetricValuesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMetricValuesResponse.Builder,,ListMetricValuesResponse> IotResponse.Builder,SdkBuilder<ListMetricValuesResponse.Builder,,ListMetricValuesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListMetricValuesResponse
@Mutable
@NotThreadSafe
public static interface ListMetricValuesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListMetricValuesResponse.Builder,ListMetricValuesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmetricDatumList(Collection<MetricDatum> metricDatumList) The data the thing reports for the metric during the specified time period.metricDatumList(Consumer<MetricDatum.Builder>... metricDatumList) The data the thing reports for the metric during the specified time period.metricDatumList(MetricDatum... metricDatumList) The data the thing reports for the metric during the specified time period.A token that can be used to retrieve the next set of results, ornullif there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
The data the thing reports for the metric during the specified time period.
This is a convenience method that creates an instance of theMetricDatum.Builderavoiding the need to create one manually viaMetricDatum.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricDatumList(List<MetricDatum>).- Parameters:
metricDatumList- a consumer that will call methods onMetricDatum.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
nullif there are no additional results.- Parameters:
nextToken- A token that can be used to retrieve the next set of results, ornullif there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-