Class NodeAttributes
java.lang.Object
org.opensearch.client.opensearch._types.NodeAttributes
- All Implemented Interfaces:
ToJsonp
public final class NodeAttributes extends java.lang.Object implements ToJsonp
-
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 for NodeAttributes -
Constructor Summary
Constructors Modifier Constructor Description protectedNodeAttributes(NodeAttributes.Builder builder) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>attributes()Lists node attributes.java.lang.StringephemeralId()The ephemeral ID of the node.java.lang.Stringid()The unique identifier of the node.java.lang.Stringname()The unique identifier of the node.java.util.List<jakarta.json.JsonValue>roles()API name:rolesprotected static voidsetupNodeAttributesDeserializer(DelegatingDeserializer<NodeAttributes.Builder> op)voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.StringtransportAddress()The host and port where transport HTTP connections are accepted.
-
Field Details
-
DESERIALIZER
Json deserializer for NodeAttributes
-
-
Constructor Details
-
Method Details
-
attributes
public java.util.Map<java.lang.String,java.lang.String> attributes()Lists node attributes. API name:attributes -
ephemeralId
public java.lang.String ephemeralId()The ephemeral ID of the node. API name:ephemeral_id -
id
@Nullable public java.lang.String id()The unique identifier of the node. API name:id -
name
public java.lang.String name()The unique identifier of the node. API name:name -
transportAddress
public java.lang.String transportAddress()The host and port where transport HTTP connections are accepted. API name:transport_address -
roles
@Nullable public java.util.List<jakarta.json.JsonValue> roles()API name:roles -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupNodeAttributesDeserializer
protected static void setupNodeAttributesDeserializer(DelegatingDeserializer<NodeAttributes.Builder> op)
-