Class DeleteVotingConfigExclusionsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.DeleteVotingConfigExclusionsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class DeleteVotingConfigExclusionsRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteVotingConfigExclusionsRequest.Builder
Builder forDeleteVotingConfigExclusionsRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteVotingConfigExclusionsRequest,BooleanResponse,ElasticsearchError>
ENDPOINT
Endpoint "cluster.delete_voting_config_exclusions
". -
Constructor Summary
Constructors Constructor Description DeleteVotingConfigExclusionsRequest(DeleteVotingConfigExclusionsRequest.Builder builder)
DeleteVotingConfigExclusionsRequest(java.util.function.Function<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
waitForRemoval()
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<DeleteVotingConfigExclusionsRequest,BooleanResponse,ElasticsearchError> ENDPOINTEndpoint "cluster.delete_voting_config_exclusions
".
-
-
Constructor Details
-
DeleteVotingConfigExclusionsRequest
-
DeleteVotingConfigExclusionsRequest
public DeleteVotingConfigExclusionsRequest(java.util.function.Function<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest.Builder> fn)
-
-
Method Details
-
waitForRemoval
@Nullable public java.lang.Boolean waitForRemoval()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
-