Class BaseNode.AbstractBuilder<BuilderT extends BaseNode.AbstractBuilder<BuilderT>>

java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.BaseNode.AbstractBuilder<BuilderT>
Direct Known Subclasses:
ReindexNode.Builder, TaskExecutingNode.Builder, UpdateByQueryRethrottleNode.Builder
Enclosing class:
BaseNode

public abstract static class BaseNode.AbstractBuilder<BuilderT extends BaseNode.AbstractBuilder<BuilderT>> extends ObjectBuilderBase
  • Constructor Details

  • Method Details

    • self

      @Nonnull protected abstract BuilderT self()
    • attributes

      @Nonnull public final BuilderT attributes(Map<String,String> map)
      The attributes of the node.

      API name: attributes

      Adds all elements of map to attributes.

    • attributes

      @Nonnull public final BuilderT attributes(String key, String value)
      The attributes of the node.

      API name: attributes

      Adds an entry to attributes.

    • host

      @Nonnull public final BuilderT host(@Nullable String value)
      API name: host
    • ip

      @Nonnull public final BuilderT ip(@Nullable String value)
      API name: ip
    • name

      @Nonnull public final BuilderT name(String value)
      Required - API name: name
    • roles

      @Nonnull public final BuilderT roles(List<NodeRole> list)
      API name: roles

      Adds all elements of list to roles.

    • roles

      @Nonnull public final BuilderT roles(NodeRole value, NodeRole... values)
      API name: roles

      Adds one or more values to roles.

    • transportAddress

      @Nonnull public final BuilderT transportAddress(@Nullable String value)
      API name: transport_address