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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndicesBlockStatus.Builderblocked(boolean value)Required - API name:blockedIndicesBlockStatusbuild()Builds aIndicesBlockStatus.IndicesBlockStatus.Buildername(java.lang.String value)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, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException- if some of the required fields are null.
-