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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetStatisticsResponse.Builderstatistics(Consumer<Statistics.Builder> statistics)The statistics returned by the Fleet Indexing service based on the query and aggregation field.GetStatisticsResponse.Builderstatistics(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 Detail
-
statistics
GetStatisticsResponse.Builder statistics(Statistics 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
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.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:
statistics(Statistics)
-
-