Class ClosePointInTimeRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClosePointInTimeRequest.Builder>
co.elastic.clients.elasticsearch.core.ClosePointInTimeRequest.Builder
- All Implemented Interfaces:
WithJson<ClosePointInTimeRequest.Builder>
,ObjectBuilder<ClosePointInTimeRequest>
- Enclosing class:
- ClosePointInTimeRequest
public static class ClosePointInTimeRequest.Builder extends WithJsonObjectBuilderBase<ClosePointInTimeRequest.Builder> implements ObjectBuilder<ClosePointInTimeRequest>
Builder for
ClosePointInTimeRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ClosePointInTimeRequest
build()
Builds aClosePointInTimeRequest
.ClosePointInTimeRequest.Builder
id(java.lang.String value)
Required - API name:id
protected ClosePointInTimeRequest.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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ClosePointInTimeRequest.Builder>
-
build
Builds aClosePointInTimeRequest
.- Specified by:
build
in interfaceObjectBuilder<ClosePointInTimeRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-