Class DeleteVotingConfigExclusionsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cluster.DeleteVotingConfigExclusionsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteVotingConfigExclusionsRequest>
- Enclosing class:
- DeleteVotingConfigExclusionsRequest
public static class DeleteVotingConfigExclusionsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<DeleteVotingConfigExclusionsRequest>
Builder for
DeleteVotingConfigExclusionsRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DeleteVotingConfigExclusionsRequest
build()
Builds aDeleteVotingConfigExclusionsRequest
.DeleteVotingConfigExclusionsRequest.Builder
waitForRemoval(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 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
-
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
Builds aDeleteVotingConfigExclusionsRequest
.- Specified by:
build
in interfaceObjectBuilder<DeleteVotingConfigExclusionsRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-