Interface GetStatisticsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetStatisticsResponse.Builder,
,GetStatisticsResponse> IotResponse.Builder
,SdkBuilder<GetStatisticsResponse.Builder,
,GetStatisticsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetStatisticsResponse
public static interface GetStatisticsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetStatisticsResponse.Builder,GetStatisticsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetStatisticsResponse.Builder
statistics
(Consumer<Statistics.Builder> statistics) The statistics returned by the Fleet Indexing service based on the query and aggregation field.statistics
(Statistics statistics) The statistics returned by the Fleet Indexing service based on the query and aggregation field.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
statistics
The statistics returned by the Fleet Indexing service based on the query and aggregation field.
- Parameters:
statistics
- The statistics returned by the Fleet Indexing service based on the query and aggregation field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatistics(Statistics)
.- Parameters:
statistics
- a consumer that will call methods onStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-