Class DeleteVotingConfigExclusionsRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<DeleteVotingConfigExclusionsRequest.Builder>
org.opensearch.client.opensearch.cluster.DeleteVotingConfigExclusionsRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<DeleteVotingConfigExclusionsRequest.Builder,,DeleteVotingConfigExclusionsRequest> MutableBuilder<DeleteVotingConfigExclusionsRequest.Builder,,DeleteVotingConfigExclusionsRequest> ObjectBuilder<DeleteVotingConfigExclusionsRequest>
- Enclosing class:
DeleteVotingConfigExclusionsRequest
public static class DeleteVotingConfigExclusionsRequest.Builder
extends RequestBase.AbstractBuilder<DeleteVotingConfigExclusionsRequest.Builder>
implements CopyableBuilder<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest>
Builder for
DeleteVotingConfigExclusionsRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteVotingConfigExclusionsRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.self()waitForRemoval(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 org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<DeleteVotingConfigExclusionsRequest.Builder,DeleteVotingConfigExclusionsRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteVotingConfigExclusionsRequest.Builder>
-
waitForRemoval
@Nonnull public final DeleteVotingConfigExclusionsRequest.Builder waitForRemoval(@Nullable Boolean value) 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 -
build
Builds aDeleteVotingConfigExclusionsRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteVotingConfigExclusionsRequest>- Throws:
NullPointerException- if some of the required fields are null.
-