Class OpenResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<OpenResponse.Builder>
co.elastic.clients.elasticsearch.indices.OpenResponse.Builder
- All Implemented Interfaces:
WithJson<OpenResponse.Builder>
,ObjectBuilder<OpenResponse>
- Enclosing class:
- OpenResponse
public static class OpenResponse.Builder
extends WithJsonObjectBuilderBase<OpenResponse.Builder>
implements ObjectBuilder<OpenResponse>
Builder for
OpenResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal OpenResponse.Builder
acknowledged
(boolean value) Required - API name:acknowledged
build()
Builds aOpenResponse
.protected OpenResponse.Builder
self()
final OpenResponse.Builder
shardsAcknowledged
(boolean value) Required - API name:shards_acknowledged
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledged
Required - API name:acknowledged
-
shardsAcknowledged
Required - API name:shards_acknowledged
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<OpenResponse.Builder>
-
build
Builds aOpenResponse
.- Specified by:
build
in interfaceObjectBuilder<OpenResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-