Class IndexRoutingAllocationDisk.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.IndexRoutingAllocationDisk.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexRoutingAllocationDisk>
- Enclosing class:
- IndexRoutingAllocationDisk
public static class IndexRoutingAllocationDisk.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexRoutingAllocationDisk>
Builder for
IndexRoutingAllocationDisk
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IndexRoutingAllocationDisk
build()
Builds aIndexRoutingAllocationDisk
.IndexRoutingAllocationDisk.Builder
thresholdEnabled(java.lang.Boolean value)
API name:threshold_enabled
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
-
thresholdEnabled
public final IndexRoutingAllocationDisk.Builder thresholdEnabled(@Nullable java.lang.Boolean value)API name:threshold_enabled
-
build
Builds aIndexRoutingAllocationDisk
.- Specified by:
build
in interfaceObjectBuilder<IndexRoutingAllocationDisk>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-