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 aTimeSync
.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
The time delay between the current time and the latest input data time.API name:
delay
-
field
The date field that is used to identify new documents in the source.API name:
field
-
build
Builds aTimeSync
.- Specified by:
build
in interfaceObjectBuilder<TimeSync>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-