Class PostVotingConfigExclusionsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.PostVotingConfigExclusionsRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class PostVotingConfigExclusionsRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PostVotingConfigExclusionsRequest.Builder
Builder forPostVotingConfigExclusionsRequest
.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<PostVotingConfigExclusionsRequest,BooleanResponse,ElasticsearchError>
ENDPOINT
Endpoint "cluster.post_voting_config_exclusions
". -
Constructor Summary
Constructors Constructor Description PostVotingConfigExclusionsRequest(PostVotingConfigExclusionsRequest.Builder builder)
PostVotingConfigExclusionsRequest(java.util.function.Function<PostVotingConfigExclusionsRequest.Builder,PostVotingConfigExclusionsRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
nodeIds()
A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration.java.util.List<java.lang.String>
nodeNames()
A comma-separated list of the names of the nodes to exclude from the voting configuration.java.lang.String
timeout()
When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning.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<PostVotingConfigExclusionsRequest,BooleanResponse,ElasticsearchError> ENDPOINTEndpoint "cluster.post_voting_config_exclusions
".
-
-
Constructor Details
-
PostVotingConfigExclusionsRequest
-
PostVotingConfigExclusionsRequest
public PostVotingConfigExclusionsRequest(java.util.function.Function<PostVotingConfigExclusionsRequest.Builder,PostVotingConfigExclusionsRequest.Builder> fn)
-
-
Method Details
-
nodeNames
@Nullable public java.util.List<java.lang.String> nodeNames()A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify node_ids.API name:
node_names
-
nodeIds
@Nullable public java.util.List<java.lang.String> nodeIds()A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify node_names.API name:
node_ids
-
timeout
@Nullable public java.lang.String timeout()When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.API name:
timeout
-