Class TimeSync.Builder

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

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

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    TimeSync build()
    Builds a TimeSync.
    TimeSync.Builder delay​(java.lang.String value)
    The time delay between the current time and the latest input data time.
    TimeSync.Builder field​(java.lang.String value)
    The date field that is used to identify new documents in the source.

    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

    • delay

      public TimeSync.Builder delay​(@Nullable java.lang.String value)
      The time delay between the current time and the latest input data time.

      API name: delay

    • field

      public TimeSync.Builder field​(java.lang.String value)
      The date field that is used to identify new documents in the source.

      API name: field

    • build

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