Class Http.Builder

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

public static class Http.Builder
extends java.lang.Object
implements ObjectBuilder<Http>
Builder for Http.
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    Http build()
    Builds a Http.
    Http.Builder currentOpen​(int value)
    Required - API name: current_open
    Http.Builder totalOpened​(long value)
    Required - API name: total_opened

    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

    • currentOpen

      public Http.Builder currentOpen​(int value)
      Required - API name: current_open
    • totalOpened

      public Http.Builder totalOpened​(long value)
      Required - API name: total_opened
    • build

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