Class TimeSyncConfig.Builder

java.lang.Object
org.elasticsearch.client.transform.transforms.TimeSyncConfig.Builder
Enclosing class:
TimeSyncConfig

public static class TimeSyncConfig.Builder
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    TimeSyncConfig build()  
    TimeSyncConfig.Builder setDelay​(org.elasticsearch.common.unit.TimeValue delay)
    The time delay between the current time and the latest input data time.
    TimeSyncConfig.Builder setField​(java.lang.String field)
    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

    • setField

      public TimeSyncConfig.Builder setField​(java.lang.String field)
      The date field that is used to identify new documents in the source.
      Parameters:
      field - The field name of the timestamp field used for synchronizing
      Returns:
      The TimeSyncConfig.Builder with the field set.
    • setDelay

      public TimeSyncConfig.Builder setDelay​(org.elasticsearch.common.unit.TimeValue delay)
      The time delay between the current time and the latest input data time. The default value is 60s.
      Parameters:
      delay - the delay to use when checking for changes
      Returns:
      The TimeSyncConfig.Builder with delay set.
    • build

      public TimeSyncConfig build()