Class PointInTimeReference.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.search.PointInTimeReference.Builder
- All Implemented Interfaces:
ObjectBuilder<PointInTimeReference>
- Enclosing class:
- PointInTimeReference
public static class PointInTimeReference.Builder extends ObjectBuilderBase implements ObjectBuilder<PointInTimeReference>
Builder for
PointInTimeReference.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PointInTimeReferencebuild()Builds aPointInTimeReference.PointInTimeReference.Builderid(java.lang.String value)Required - API name:idPointInTimeReference.BuilderkeepAlive(Time value)API name:keep_alivePointInTimeReference.BuilderkeepAlive(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:keep_aliveMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Required - API name:id -
keepAlive
API name:keep_alive -
keepAlive
public final PointInTimeReference.Builder keepAlive(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:keep_alive -
build
Builds aPointInTimeReference.- Specified by:
buildin interfaceObjectBuilder<PointInTimeReference>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-