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 TimeSyncbuild()Builds aTimeSync.TimeSync.Builderdelay(java.lang.String value)The time delay between the current time and the latest input data time.TimeSync.Builderfield(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:
buildin interfaceObjectBuilder<TimeSync>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-