Class DeleteVotingConfigExclusionsRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.cluster.DeleteVotingConfigExclusionsRequest
-
public class DeleteVotingConfigExclusionsRequest extends RequestBase
Clears cluster voting config exclusions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteVotingConfigExclusionsRequest.BuilderBuilder forDeleteVotingConfigExclusionsRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<DeleteVotingConfigExclusionsRequest,BooleanResponse,ErrorResponse>_ENDPOINTEndpoint "cluster.delete_voting_config_exclusions".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteVotingConfigExclusionsRequestof(java.util.function.Function<DeleteVotingConfigExclusionsRequest.Builder,ObjectBuilder<DeleteVotingConfigExclusionsRequest>> fn)java.lang.BooleanwaitForRemoval()Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list.
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<DeleteVotingConfigExclusionsRequest,BooleanResponse,ErrorResponse> _ENDPOINT
Endpoint "cluster.delete_voting_config_exclusions".
-
-
Method Detail
-
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
-
-