Class NodeAttributes

java.lang.Object
co.elastic.clients.elasticsearch._types.NodeAttributes
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class NodeAttributes extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • attributes

      public final Map<String,String> attributes()
      Required - Lists node attributes.

      API name: attributes

    • ephemeralId

      public final String ephemeralId()
      Required - The ephemeral ID of the node.

      API name: ephemeral_id

    • id

      @Nullable public final String id()
      The unique identifier of the node.

      API name: id

    • name

      public final String name()
      Required - The unique identifier of the node.

      API name: name

    • transportAddress

      public final String transportAddress()
      Required - The host and port where transport HTTP connections are accepted.

      API name: transport_address

    • roles

      public final List<NodeRole> roles()
      API name: roles
    • externalId

      public final String externalId()
      Required - API name: external_id
    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupNodeAttributesDeserializer

      protected static void setupNodeAttributesDeserializer(ObjectDeserializer<NodeAttributes.Builder> op)