Class MlJobsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.MlJobsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<MlJobsRequest>
- Enclosing class:
- MlJobsRequest
public static class MlJobsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<MlJobsRequest>
Builder for
MlJobsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description MlJobsRequest.Builder
allowNoJobs(java.lang.Boolean value)
Deprecated.MlJobsRequest
build()
Builds aMlJobsRequest
.MlJobsRequest.Builder
bytes(Bytes value)
The unit in which to display byte valuesMlJobsRequest.Builder
jobId(java.lang.String value)
The ID of the jobs stats to fetchMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
allowNoJobs
Deprecated.7.10.0 Useallow_no_match
instead.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_jobs
-
bytes
The unit in which to display byte valuesAPI name:
bytes
-
jobId
The ID of the jobs stats to fetchAPI name:
job_id
-
build
Builds aMlJobsRequest
.- Specified by:
build
in interfaceObjectBuilder<MlJobsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
allow_no_match
instead.