Class DeleteVotingConfigExclusionsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.DeleteVotingConfigExclusionsRequest
public class DeleteVotingConfigExclusionsRequest extends RequestBase
Clears cluster voting config exclusions.
- See Also:
- API specification
-
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,ErrorResponse>
_ENDPOINT
Endpoint "cluster.delete_voting_config_exclusions
". -
Method Summary
Modifier and Type Method Description static DeleteVotingConfigExclusionsRequest
of(java.util.function.Function<DeleteVotingConfigExclusionsRequest.Builder,ObjectBuilder<DeleteVotingConfigExclusionsRequest>> fn)
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,ErrorResponse> _ENDPOINTEndpoint "cluster.delete_voting_config_exclusions
".
-
-
Method Details
-
of
public static DeleteVotingConfigExclusionsRequest of(java.util.function.Function<DeleteVotingConfigExclusionsRequest.Builder,ObjectBuilder<DeleteVotingConfigExclusionsRequest>> fn) -
waitForRemoval
@Nullable public final 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
-