Class MlJobsRequest.Builder

java.lang.Object
co.elastic.clients.elasticsearch.cat.MlJobsRequest.Builder
All Implemented Interfaces:
ObjectBuilder<MlJobsRequest>
Enclosing class:
MlJobsRequest

public static class MlJobsRequest.Builder
extends java.lang.Object
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)
    Whether to ignore if a wildcard expression matches no jobs.
    MlJobsRequest build()
    Builds a MlJobsRequest.
    MlJobsRequest.Builder bytes​(Bytes value)
    The unit in which to display byte values
    MlJobsRequest.Builder jobId​(java.lang.String value)
    The ID of the jobs stats to fetch

    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

      public MlJobsRequest.Builder jobId​(@Nullable java.lang.String value)
      The ID of the jobs stats to fetch

      API name: job_id

    • allowNoJobs

      public MlJobsRequest.Builder allowNoJobs​(@Nullable java.lang.Boolean value)
      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

      public MlJobsRequest.Builder bytes​(@Nullable Bytes value)
      The unit in which to display byte values

      API name: bytes

    • build

      public MlJobsRequest build()
      Builds a MlJobsRequest.
      Specified by:
      build in interface ObjectBuilder<MlJobsRequest>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.