Class DeleteVotingConfigExclusionsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cluster.DeleteVotingConfigExclusionsRequest
- All Implemented Interfaces:
ToCopyableBuilder<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class DeleteVotingConfigExclusionsRequest
extends RequestBase
implements ToCopyableBuilder<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest>
Clears any cluster voting configuration exclusions.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "cluster.delete_voting_config_exclusions". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) builder()booleaninthashCode()of(Function<DeleteVotingConfigExclusionsRequest.Builder, ObjectBuilder<DeleteVotingConfigExclusionsRequest>> fn) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final BooleanSpecifies 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.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteVotingConfigExclusionsRequest,BooleanResponse, _ENDPOINTErrorResponse> Endpoint "cluster.delete_voting_config_exclusions".
-
-
Method Details
-
of
-
waitForRemoval
Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list. Whentrue, all excluded nodes are removed from the cluster before this API takes any action. Whenfalse, the voting configuration exclusions list is cleared even if some excluded nodes are still in the cluster.API name:
wait_for_removal -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-