Class GetOverallBucketsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetOverallBucketsRequest.Builder>
co.elastic.clients.elasticsearch.ml.GetOverallBucketsRequest.Builder
- All Implemented Interfaces:
WithJson<GetOverallBucketsRequest.Builder>,ObjectBuilder<GetOverallBucketsRequest>
- Enclosing class:
- GetOverallBucketsRequest
public static class GetOverallBucketsRequest.Builder
extends RequestBase.AbstractBuilder<GetOverallBucketsRequest.Builder>
implements ObjectBuilder<GetOverallBucketsRequest>
Builder for
GetOverallBucketsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowNoMatch(Boolean value) Refer to the description for theallow_no_matchquery parameter.bucketSpan(Time value) Refer to the description for thebucket_spanquery parameter.Refer to the description for thebucket_spanquery parameter.build()Builds aGetOverallBucketsRequest.Refer to the description for theendquery parameter.excludeInterim(Boolean value) Refer to the description for theexclude_interimquery parameter.Required - Identifier for the anomaly detection job.overallScore(Double value) Refer to the description for theoverall_scorequery parameter.protected GetOverallBucketsRequest.Builderself()Refer to the description for thestartquery parameter.Refer to the description for thetop_nquery parameter.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
-
allowNoMatch
Refer to the description for theallow_no_matchquery parameter.API name:
allow_no_match -
bucketSpan
Refer to the description for thebucket_spanquery parameter.API name:
bucket_span -
bucketSpan
public final GetOverallBucketsRequest.Builder bucketSpan(Function<Time.Builder, ObjectBuilder<Time>> fn) Refer to the description for thebucket_spanquery parameter.API name:
bucket_span -
end
Refer to the description for theendquery parameter.API name:
end -
excludeInterim
Refer to the description for theexclude_interimquery parameter.API name:
exclude_interim -
jobId
Required - Identifier for the anomaly detection job. It can be a job identifier, a group name, a comma-separated list of jobs or groups, or a wildcard expression.You can summarize the bucket results for all anomaly detection jobs by using
_allor by specifying*as the<job_id>.API name:
job_id -
overallScore
Refer to the description for theoverall_scorequery parameter.API name:
overall_score -
start
Refer to the description for thestartquery parameter.API name:
start -
topN
Refer to the description for thetop_nquery parameter.API name:
top_n -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetOverallBucketsRequest.Builder>
-
build
Builds aGetOverallBucketsRequest.- Specified by:
buildin interfaceObjectBuilder<GetOverallBucketsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-