public static interface GetStatisticsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetStatisticsResponse.Builder,GetStatisticsResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetStatisticsResponse.Builder |
statistics(Consumer<Statistics.Builder> statistics)
The statistics returned by the Fleet Indexing service based on the query and aggregation field.
|
GetStatisticsResponse.Builder |
statistics(Statistics statistics)
The statistics returned by the Fleet Indexing service based on the query and aggregation field.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetStatisticsResponse.Builder statistics(Statistics statistics)
The statistics returned by the Fleet Indexing service based on the query and aggregation field.
statistics - The statistics returned by the Fleet Indexing service based on the query and aggregation field.default GetStatisticsResponse.Builder statistics(Consumer<Statistics.Builder> statistics)
The statistics returned by the Fleet Indexing service based on the query and aggregation field.
This is a convenience method that creates an instance of theStatistics.Builder avoiding the need to
create one manually via Statistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to statistics(Statistics).
statistics - a consumer that will call methods on Statistics.Builderstatistics(Statistics)Copyright © 2022. All rights reserved.