Class IndexRouting.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexRouting.Builder>
co.elastic.clients.elasticsearch.indices.IndexRouting.Builder
- All Implemented Interfaces:
WithJson<IndexRouting.Builder>,ObjectBuilder<IndexRouting>
- Enclosing class:
- IndexRouting
public static class IndexRouting.Builder extends WithJsonObjectBuilderBase<IndexRouting.Builder> implements ObjectBuilder<IndexRouting>
Builder for
IndexRouting.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexRouting.Builderallocation(IndexRoutingAllocation value)API name:allocationIndexRouting.Builderallocation(java.util.function.Function<IndexRoutingAllocation.Builder,ObjectBuilder<IndexRoutingAllocation>> fn)API name:allocationIndexRoutingbuild()Builds aIndexRouting.IndexRouting.Builderrebalance(IndexRoutingRebalance value)API name:rebalanceIndexRouting.Builderrebalance(java.util.function.Function<IndexRoutingRebalance.Builder,ObjectBuilder<IndexRoutingRebalance>> fn)API name:rebalanceprotected IndexRouting.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
-
allocation
API name:allocation -
allocation
public final IndexRouting.Builder allocation(java.util.function.Function<IndexRoutingAllocation.Builder,ObjectBuilder<IndexRoutingAllocation>> fn)API name:allocation -
rebalance
API name:rebalance -
rebalance
public final IndexRouting.Builder rebalance(java.util.function.Function<IndexRoutingRebalance.Builder,ObjectBuilder<IndexRoutingRebalance>> fn)API name:rebalance -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexRouting.Builder>
-
build
Builds aIndexRouting.- Specified by:
buildin interfaceObjectBuilder<IndexRouting>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-