Class GetOverallBucketsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetOverallBucketsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetOverallBucketsRequest>
- Enclosing class:
- GetOverallBucketsRequest
public static class GetOverallBucketsRequest.Builder extends java.lang.Object implements ObjectBuilder<GetOverallBucketsRequest>
Builder for
GetOverallBucketsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetOverallBucketsRequest.Builder
allowNoJobs(java.lang.Boolean value)
API name:allow_no_jobs
GetOverallBucketsRequest.Builder
allowNoMatch(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no jobs.GetOverallBucketsRequest.Builder
bucketSpan(java.lang.String value)
The span of the overall buckets.GetOverallBucketsRequest
build()
Builds aGetOverallBucketsRequest
.GetOverallBucketsRequest.Builder
end(java.lang.String value)
Returns overall buckets with timestamps earlier than this time.GetOverallBucketsRequest.Builder
excludeInterim(java.lang.Boolean value)
If true, the output excludes interim results.GetOverallBucketsRequest.Builder
jobId(java.lang.String value)
Required - Identifier for the anomaly detection job.GetOverallBucketsRequest.Builder
overallScore(java.lang.String value)
Returns overall buckets with overall scores greater than or equal to this value.GetOverallBucketsRequest.Builder
start(java.lang.String value)
Returns overall buckets with timestamps after this time.GetOverallBucketsRequest.Builder
topN(java.lang.Integer value)
The number of top anomaly detection job bucket scores to be used in the overall_score calculation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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.API name:
job_id
-
bucketSpan
The span of the overall buckets. Must be greater or equal to the largest bucket span of the specified anomaly detection jobs, which is the default value.API name:
bucket_span
-
overallScore
Returns overall buckets with overall scores greater than or equal to this value.API name:
overall_score
-
topN
The number of top anomaly detection job bucket scores to be used in the overall_score calculation.API name:
top_n
-
end
Returns overall buckets with timestamps earlier than this time.API name:
end
-
start
Returns overall buckets with timestamps after this time.API name:
start
-
excludeInterim
If true, the output excludes interim results. By default, interim results are included.API name:
exclude_interim
-
allowNoMatch
Whether to ignore if a wildcard expression matches no jobs. (This includes_all
string or when no jobs have been specified)API name:
allow_no_match
-
allowNoJobs
API name:allow_no_jobs
-
build
Builds aGetOverallBucketsRequest
.- Specified by:
build
in interfaceObjectBuilder<GetOverallBucketsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-