Class Ingest.Builder

java.lang.Object
co.elastic.clients.elasticsearch.ingest.simulate.Ingest.Builder
All Implemented Interfaces:
ObjectBuilder<Ingest>
Enclosing class:
Ingest

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

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    Ingest build()
    Builds a Ingest.
    Ingest.Builder pipeline​(java.lang.String value)
    API name: pipeline
    Ingest.Builder timestamp​(java.lang.String value)
    Required - API name: timestamp

    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

    • timestamp

      public Ingest.Builder timestamp​(java.lang.String value)
      Required - API name: timestamp
    • pipeline

      public Ingest.Builder pipeline​(@Nullable java.lang.String value)
      API name: pipeline
    • build

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