Class GetBucketsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetBucketsRequest.Builder>
co.elastic.clients.elasticsearch.ml.GetBucketsRequest.Builder
- All Implemented Interfaces:
WithJson<GetBucketsRequest.Builder>,ObjectBuilder<GetBucketsRequest>
- Enclosing class:
- GetBucketsRequest
public static class GetBucketsRequest.Builder
extends RequestBase.AbstractBuilder<GetBucketsRequest.Builder>
implements ObjectBuilder<GetBucketsRequest>
Builder for
GetBucketsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanomalyScore(Double value) Refer to the description for theanomaly_scorequery parameter.build()Builds aGetBucketsRequest.Refer to the description for thedescquery parameter.Refer to the description for theendquery parameter.excludeInterim(Boolean value) Refer to the description for theexclude_interimquery parameter.Refer to the description for theexpandquery parameter.Skips the specified number of buckets.Required - Identifier for the anomaly detection job.API name:pageAPI name:pageprotected GetBucketsRequest.Builderself()Specifies the maximum number of buckets to obtain.Refer to the desription for thesortquery parameter.Refer to the description for thestartquery parameter.The timestamp of a single bucket result.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
anomalyScore
Refer to the description for theanomaly_scorequery parameter.API name:
anomaly_score -
desc
Refer to the description for thedescquery parameter.API name:
desc -
end
Refer to the description for theendquery parameter.API name:
end -
excludeInterim
Refer to the description for theexclude_interimquery parameter.API name:
exclude_interim -
expand
Refer to the description for theexpandquery parameter.API name:
expand -
from
Skips the specified number of buckets.API name:
from -
jobId
Required - Identifier for the anomaly detection job.API name:
job_id -
page
API name:page -
page
API name:page -
size
Specifies the maximum number of buckets to obtain.API name:
size -
sort
Refer to the desription for thesortquery parameter.API name:
sort -
start
Refer to the description for thestartquery parameter.API name:
start -
timestamp
The timestamp of a single bucket result. If you do not specify this parameter, the API returns information about all buckets.API name:
timestamp -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetBucketsRequest.Builder>
-
build
Builds aGetBucketsRequest.- Specified by:
buildin interfaceObjectBuilder<GetBucketsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-