Class GetJobsRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetJobsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetJobsRequest>
- Enclosing class:
- GetJobsRequest
public static class GetJobsRequest.Builder extends java.lang.Object implements ObjectBuilder<GetJobsRequest>
Builder for
GetJobsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetJobsRequest.BuilderaddJobId(java.lang.String value)Add a value tojobId(List), creating the list if needed.GetJobsRequest.BuilderallowNoJobs(java.lang.Boolean value)Whether to ignore if a wildcard expression matches no jobs.GetJobsRequest.BuilderallowNoMatch(java.lang.Boolean value)Whether to ignore if a wildcard expression matches no jobs.GetJobsRequestbuild()Builds aGetJobsRequest.GetJobsRequest.BuilderexcludeGenerated(java.lang.Boolean value)Omits fields that are illegal to set on job PUTGetJobsRequest.BuilderjobId(java.lang.String... value)The ID of the jobs to fetchGetJobsRequest.BuilderjobId(java.util.List<java.lang.String> value)The ID of the jobs to fetchMethods 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
The ID of the jobs to fetchAPI name:
job_id -
jobId
The ID of the jobs to fetchAPI name:
job_id -
addJobId
Add a value tojobId(List), creating the list if needed. 4 -
allowNoMatch
Whether to ignore if a wildcard expression matches no jobs. (This includes_allstring or when no jobs have been specified)API name:
allow_no_match -
allowNoJobs
Whether to ignore if a wildcard expression matches no jobs. (This includes_allstring or when no jobs have been specified)API name:
allow_no_jobs -
excludeGenerated
Omits fields that are illegal to set on job PUTAPI name:
exclude_generated -
build
Builds aGetJobsRequest.- Specified by:
buildin interfaceObjectBuilder<GetJobsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-