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