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.Builder
addJobId(java.lang.String value)
Add a value tojobId(List)
, creating the list if needed.GetJobsRequest.Builder
allowNoJobs(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no jobs.GetJobsRequest.Builder
allowNoMatch(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no jobs.GetJobsRequest
build()
Builds aGetJobsRequest
.GetJobsRequest.Builder
excludeGenerated(java.lang.Boolean value)
Omits fields that are illegal to set on job PUTGetJobsRequest.Builder
jobId(java.lang.String... value)
The ID of the jobs to fetchGetJobsRequest.Builder
jobId(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. -
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
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
-
excludeGenerated
Omits fields that are illegal to set on job PUTAPI name:
exclude_generated
-
build
Builds aGetJobsRequest
.- Specified by:
build
in interfaceObjectBuilder<GetJobsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-