Class IndexRoutingAllocationDisk.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexRoutingAllocationDisk.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexRoutingAllocationDisk.Builder,,IndexRoutingAllocationDisk> MutableBuilder<IndexRoutingAllocationDisk.Builder,,IndexRoutingAllocationDisk> ObjectBuilder<IndexRoutingAllocationDisk>
- Enclosing class:
IndexRoutingAllocationDisk
public static class IndexRoutingAllocationDisk.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexRoutingAllocationDisk.Builder,IndexRoutingAllocationDisk>
Builder for
IndexRoutingAllocationDisk.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexRoutingAllocationDisk.copy()Create a new builderCopyableBuilderthat is a copy of this one.thresholdEnabled(Boolean value) API name:threshold_enabledMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndexRoutingAllocationDisk.Builder,IndexRoutingAllocationDisk> - Returns:
- a new builder instance.
-
thresholdEnabled
API name:threshold_enabled -
build
Builds aIndexRoutingAllocationDisk.- Specified by:
buildin interfaceObjectBuilder<IndexRoutingAllocationDisk>- Throws:
NullPointerException- if some of the required fields are null.
-