Class PointInTimeReference.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<PointInTimeReference.Builder>
co.elastic.clients.elasticsearch.core.search.PointInTimeReference.Builder
- All Implemented Interfaces:
WithJson<PointInTimeReference.Builder>
,ObjectBuilder<PointInTimeReference>
- Enclosing class:
- PointInTimeReference
public static class PointInTimeReference.Builder extends WithJsonObjectBuilderBase<PointInTimeReference.Builder> implements ObjectBuilder<PointInTimeReference>
Builder for
PointInTimeReference
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description PointInTimeReference
build()
Builds aPointInTimeReference
.PointInTimeReference.Builder
id(java.lang.String value)
Required - API name:id
PointInTimeReference.Builder
keepAlive(Time value)
API name:keep_alive
PointInTimeReference.Builder
keepAlive(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:keep_alive
protected PointInTimeReference.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<PointInTimeReference.Builder>
-
build
Builds aPointInTimeReference
.- Specified by:
build
in interfaceObjectBuilder<PointInTimeReference>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-