Class NodeAttributes
java.lang.Object
co.elastic.clients.elasticsearch._types.NodeAttributes
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<NodeAttributes>
Json deserializer forNodeAttributes
-
Method Summary
Modifier and TypeMethodDescriptionRequired - Lists node attributes.final String
Required - The ephemeral ID of the node.final String
API name:external_id
final String
id()
The unique identifier of the node.final String
name()
Required - The unique identifier of the node.static NodeAttributes
roles()
API name:roles
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final String
Required - The host and port where transport HTTP connections are accepted.
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeAttributes
-
-
Method Details
-
of
-
attributes
Required - Lists node attributes.API name:
attributes
-
ephemeralId
Required - The ephemeral ID of the node.API name:
ephemeral_id
-
id
The unique identifier of the node.API name:
id
-
name
Required - The unique identifier of the node.API name:
name
-
transportAddress
Required - The host and port where transport HTTP connections are accepted.API name:
transport_address
-
roles
API name:roles
-
externalId
API name:external_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupNodeAttributesDeserializer
protected static void setupNodeAttributesDeserializer(ObjectDeserializer<NodeAttributes.Builder> op)
-