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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblocked(boolean value) Required - API name:blockedbuild()Builds aIndicesBlockStatus.Required - API name:nameprotected IndicesBlockStatus.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<IndicesBlockStatus.Builder>
-
build
Builds aIndicesBlockStatus.- Specified by:
buildin interfaceObjectBuilder<IndicesBlockStatus>- Throws:
NullPointerException- if some of the required fields are null.
-