Class PostVotingConfigExclusionsRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.cluster.PostVotingConfigExclusionsRequest
Updates the cluster voting config exclusions by node ids or node names.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionEndpoint "cluster.post_voting_config_exclusions
". -
Method Summary
Modifier and TypeMethodDescriptionnodeIds()
A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration.A comma-separated list of the names of the nodes to exclude from the voting configuration.of
(Function<PostVotingConfigExclusionsRequest.Builder, ObjectBuilder<PostVotingConfigExclusionsRequest>> fn) final 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
-
Field Details
-
_ENDPOINT
public static final Endpoint<PostVotingConfigExclusionsRequest,BooleanResponse, _ENDPOINTErrorResponse> Endpoint "cluster.post_voting_config_exclusions
".
-
-
Method Details
-
of
-
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
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
-