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.BuilderallowNoJobs(java.lang.Boolean value)Deprecated.MlJobsRequest.BuilderallowNoMatch(java.lang.Boolean value)Specifies what to do when the request: Contains wildcard expressions and there are no jobs that match. Contains the_allstring or no identifiers and there are no matches. Contains wildcard expressions and there are only partial matches.MlJobsRequestbuild()Builds aMlJobsRequest.MlJobsRequest.Builderbytes(Bytes value)The unit used to display byte values.MlJobsRequest.Builderformat(java.lang.String value)Short version of the HTTP accept header.MlJobsRequest.Builderh(CatAnomalyDetectorColumn value, CatAnomalyDetectorColumn... values)Comma-separated list of column names to display.MlJobsRequest.Builderh(java.util.List<CatAnomalyDetectorColumn> list)Comma-separated list of column names to display.MlJobsRequest.Builderhelp(java.lang.Boolean value)If true, the response includes help information.MlJobsRequest.BuilderjobId(java.lang.String value)Identifier for the anomaly detection job.MlJobsRequest.Builders(CatAnomalyDetectorColumn value, CatAnomalyDetectorColumn... values)Comma-separated list of column names or column aliases used to sort the response.MlJobsRequest.Builders(java.util.List<CatAnomalyDetectorColumn> list)Comma-separated list of column names or column aliases used to sort the response.MlJobsRequest.Buildertime(TimeUnit value)The unit used to display time values.MlJobsRequest.Builderv(java.lang.Boolean value)Iftrue, the response includes column headings.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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_matchinstead.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 -
allowNoMatch
Specifies what to do when the request:- Contains wildcard expressions and there are no jobs that match.
- Contains the
_allstring or no identifiers and there are no matches. - Contains wildcard expressions and there are only partial matches.
If
true, the API returns an empty jobs array when there are no matches and the subset of results when there are partial matches. Iffalse, the API returns a 404 status code when there are no matches or only partial matches.API name:
allow_no_match -
bytes
The unit used to display byte values.API name:
bytes -
format
Short version of the HTTP accept header. Valid values include JSON, YAML, for example.API name:
format -
h
Comma-separated list of column names to display.API name:
hAdds all elements of
listtoh. -
h
public final MlJobsRequest.Builder h(CatAnomalyDetectorColumn value, CatAnomalyDetectorColumn... values)Comma-separated list of column names to display.API name:
hAdds one or more values to
h. -
help
If true, the response includes help information.API name:
help -
jobId
Identifier for the anomaly detection job.API name:
job_id -
s
Comma-separated list of column names or column aliases used to sort the response.API name:
sAdds all elements of
listtos. -
s
public final MlJobsRequest.Builder s(CatAnomalyDetectorColumn value, CatAnomalyDetectorColumn... values)Comma-separated list of column names or column aliases used to sort the response.API name:
sAdds one or more values to
s. -
time
The unit used to display time values.API name:
time -
v
Iftrue, the response includes column headings.API name:
v -
build
Builds aMlJobsRequest.- Specified by:
buildin interfaceObjectBuilder<MlJobsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
allow_no_matchinstead.