Class IndicesBlockStatus.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.add_block.IndicesBlockStatus.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndicesBlockStatus>
- Enclosing class:
- IndicesBlockStatus
public static class IndicesBlockStatus.Builder extends ObjectBuilderBase implements ObjectBuilder<IndicesBlockStatus>
Builder forIndicesBlockStatus.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndicesBlockStatus.Builderblocked(boolean value)Required - API name:blockedIndicesBlockStatusbuild()Builds aIndicesBlockStatus.IndicesBlockStatus.Buildername(java.lang.String value)Required - API name:name-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
name
public final IndicesBlockStatus.Builder name(java.lang.String value)
Required - API name:name
-
blocked
public final IndicesBlockStatus.Builder blocked(boolean value)
Required - API name:blocked
-
build
public IndicesBlockStatus build()
Builds aIndicesBlockStatus.- Specified by:
buildin interfaceObjectBuilder<IndicesBlockStatus>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-