Class IndexRoutingAllocation.Builder
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocation.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexRoutingAllocation>
- Enclosing class:
- IndexRoutingAllocation
public static class IndexRoutingAllocation.Builder extends java.lang.Object implements ObjectBuilder<IndexRoutingAllocation>
Builder for
IndexRoutingAllocation.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
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
API name:enable -
include
API name:include -
include
public IndexRoutingAllocation.Builder include(java.util.function.Function<IndexRoutingAllocationInclude.Builder,ObjectBuilder<IndexRoutingAllocationInclude>> fn)API name:include -
initialRecovery
public IndexRoutingAllocation.Builder initialRecovery(@Nullable IndexRoutingAllocationInitialRecovery value)API name:initial_recovery -
initialRecovery
public IndexRoutingAllocation.Builder initialRecovery(java.util.function.Function<IndexRoutingAllocationInitialRecovery.Builder,ObjectBuilder<IndexRoutingAllocationInitialRecovery>> fn)API name:initial_recovery -
disk
API name:disk -
disk
public IndexRoutingAllocation.Builder disk(java.util.function.Function<IndexRoutingAllocationDisk.Builder,ObjectBuilder<IndexRoutingAllocationDisk>> fn)API name:disk -
build
Builds aIndexRoutingAllocation.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-