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