Class NodeAttributes
java.lang.Object
co.elastic.clients.elasticsearch._types.NodeAttributes
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class NodeAttributes extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeAttributes.BuilderBuilder forNodeAttributes. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeAttributes>_DESERIALIZERJson deserializer forNodeAttributes -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>attributes()Required - Lists node attributes.java.lang.StringephemeralId()Required - The ephemeral ID of the node.java.lang.Stringid()The unique identifier of the node.java.lang.Stringname()Required - The unique identifier of the node.static NodeAttributesof(java.util.function.Function<NodeAttributes.Builder,ObjectBuilder<NodeAttributes>> fn)java.util.List<NodeRole>roles()API name:rolesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodeAttributesDeserializer(ObjectDeserializer<NodeAttributes.Builder> op)java.lang.StringtransportAddress()Required - The host and port where transport HTTP connections are accepted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeAttributes
-
-
Method Details
-
of
public static NodeAttributes of(java.util.function.Function<NodeAttributes.Builder,ObjectBuilder<NodeAttributes>> fn) -
attributes
public final java.util.Map<java.lang.String,java.lang.String> attributes()Required - Lists node attributes.API name:
attributes -
ephemeralId
public final java.lang.String ephemeralId()Required - The ephemeral ID of the node.API name:
ephemeral_id -
id
@Nullable public final java.lang.String id()The unique identifier of the node.API name:
id -
name
public final java.lang.String name()Required - The unique identifier of the node.API name:
name -
transportAddress
public final java.lang.String transportAddress()Required - The host and port where transport HTTP connections are accepted.API name:
transport_address -
roles
API name:roles -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupNodeAttributesDeserializer
protected static void setupNodeAttributesDeserializer(ObjectDeserializer<NodeAttributes.Builder> op)
-