Class NodeAttributesRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.nodeattrs.NodeAttributesRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class NodeAttributesRecord extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeAttributesRecord.Builder
Builder forNodeAttributesRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeAttributesRecord>
_DESERIALIZER
Json deserializer forNodeAttributesRecord
-
Constructor Summary
Constructors Constructor Description NodeAttributesRecord(NodeAttributesRecord.Builder builder)
NodeAttributesRecord(java.util.function.Function<NodeAttributesRecord.Builder,NodeAttributesRecord.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
attr()
attribute descriptionjava.lang.String
host()
host namejava.lang.String
id()
unique node idjava.lang.String
ip()
ip addressjava.lang.String
node()
node namejava.lang.String
pid()
process idjava.lang.String
port()
bound transport portvoid
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
setupNodeAttributesRecordDeserializer(DelegatingDeserializer<NodeAttributesRecord.Builder> op)
java.lang.String
value()
attribute valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeAttributesRecord
-
-
Constructor Details
-
NodeAttributesRecord
-
NodeAttributesRecord
public NodeAttributesRecord(java.util.function.Function<NodeAttributesRecord.Builder,NodeAttributesRecord.Builder> fn)
-
-
Method Details
-
node
@Nullable public java.lang.String node()node nameAPI name:
node
-
id
@Nullable public java.lang.String id()unique node idAPI name:
id
-
pid
@Nullable public java.lang.String pid()process idAPI name:
pid
-
host
@Nullable public java.lang.String host()host nameAPI name:
host
-
ip
@Nullable public java.lang.String ip()ip addressAPI name:
ip
-
port
@Nullable public java.lang.String port()bound transport portAPI name:
port
-
attr
@Nullable public java.lang.String attr()attribute descriptionAPI name:
attr
-
value
@Nullable public java.lang.String value()attribute valueAPI name:
value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupNodeAttributesRecordDeserializer
protected static void setupNodeAttributesRecordDeserializer(DelegatingDeserializer<NodeAttributesRecord.Builder> op)
-