Class IndexRoutingAllocationDisk.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.IndexRoutingAllocationDisk.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndexRoutingAllocationDisk>
- Enclosing class:
- IndexRoutingAllocationDisk
public static class IndexRoutingAllocationDisk.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexRoutingAllocationDisk>
Builder forIndexRoutingAllocationDisk.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexRoutingAllocationDiskbuild()Builds aIndexRoutingAllocationDisk.IndexRoutingAllocationDisk.BuilderthresholdEnabled(java.lang.Boolean value)API name:threshold_enabled-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
thresholdEnabled
public final IndexRoutingAllocationDisk.Builder thresholdEnabled(@Nullable java.lang.Boolean value)
API name:threshold_enabled
-
build
public IndexRoutingAllocationDisk build()
Builds aIndexRoutingAllocationDisk.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocationDisk>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-