Class DeleteVotingConfigExclusionsRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cluster.DeleteVotingConfigExclusionsRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<DeleteVotingConfigExclusionsRequest>
- Enclosing class:
- DeleteVotingConfigExclusionsRequest
public static class DeleteVotingConfigExclusionsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<DeleteVotingConfigExclusionsRequest>
Builder forDeleteVotingConfigExclusionsRequest.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteVotingConfigExclusionsRequestbuild()Builds aDeleteVotingConfigExclusionsRequest.DeleteVotingConfigExclusionsRequest.BuilderwaitForRemoval(java.lang.Boolean value)Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
waitForRemoval
public final DeleteVotingConfigExclusionsRequest.Builder waitForRemoval(@Nullable java.lang.Boolean value)
Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list. Defaults to true, meaning that all excluded nodes must be removed from the cluster before this API takes any action. If set to false then the voting configuration exclusions list is cleared even if some excluded nodes are still in the cluster.API name:
wait_for_removal
-
build
public DeleteVotingConfigExclusionsRequest build()
Builds aDeleteVotingConfigExclusionsRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteVotingConfigExclusionsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-