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