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.Builderstatistics(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
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, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaStatistics.builder().When the
Consumercompletes,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:
-