public static interface GetBucketsAggregationRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<GetBucketsAggregationRequest.Builder,GetBucketsAggregationRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetBucketsAggregationRequest.Builder indexName(String indexName)
The name of the index to search.
indexName
- The name of the index to search.GetBucketsAggregationRequest.Builder queryString(String queryString)
The search query string.
queryString
- The search query string.GetBucketsAggregationRequest.Builder aggregationField(String aggregationField)
The aggregation field.
aggregationField
- The aggregation field.GetBucketsAggregationRequest.Builder queryVersion(String queryVersion)
The version of the query.
queryVersion
- The version of the query.GetBucketsAggregationRequest.Builder bucketsAggregationType(BucketsAggregationType bucketsAggregationType)
The basic control of the response shape and the bucket aggregation type to perform.
bucketsAggregationType
- The basic control of the response shape and the bucket aggregation type to perform.default GetBucketsAggregationRequest.Builder bucketsAggregationType(Consumer<BucketsAggregationType.Builder> bucketsAggregationType)
The basic control of the response shape and the bucket aggregation type to perform.
This is a convenience method that creates an instance of theBucketsAggregationType.Builder
avoiding
the need to create one manually via BucketsAggregationType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to bucketsAggregationType(BucketsAggregationType)
.bucketsAggregationType
- a consumer that will call methods on BucketsAggregationType.Builder
bucketsAggregationType(BucketsAggregationType)
GetBucketsAggregationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
GetBucketsAggregationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.