Class PostVotingConfigExclusionsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.PostVotingConfigExclusionsRequest
public class PostVotingConfigExclusionsRequest extends RequestBase
Updates the cluster voting config exclusions by node ids or node names.
- See Also:
- API specification
-
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,ErrorResponse>
_ENDPOINT
Endpoint "cluster.post_voting_config_exclusions
". -
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.static PostVotingConfigExclusionsRequest
of(java.util.function.Function<PostVotingConfigExclusionsRequest.Builder,ObjectBuilder<PostVotingConfigExclusionsRequest>> fn)
Time
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 co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<PostVotingConfigExclusionsRequest,BooleanResponse,ErrorResponse> _ENDPOINTEndpoint "cluster.post_voting_config_exclusions
".
-
-
Method Details
-
of
public static PostVotingConfigExclusionsRequest of(java.util.function.Function<PostVotingConfigExclusionsRequest.Builder,ObjectBuilder<PostVotingConfigExclusionsRequest>> fn) -
nodeIds
public final 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
-
nodeNames
public final 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
-
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
-