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