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
  • Field Details

  • Method Details

    • of

    • 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

      @Nullable public 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. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.

      API name: timeout