Class NodeAttributesRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.nodeattrs.NodeAttributesRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class NodeAttributesRecord extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
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 namestatic NodeAttributesRecord
of(java.util.function.Function<NodeAttributesRecord.Builder,ObjectBuilder<NodeAttributesRecord>> fn)
java.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(ObjectDeserializer<NodeAttributesRecord.Builder> op)
java.lang.String
toString()
java.lang.String
value()
attribute valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeAttributesRecord
-
-
Method Details
-
of
public static NodeAttributesRecord of(java.util.function.Function<NodeAttributesRecord.Builder,ObjectBuilder<NodeAttributesRecord>> fn) -
node
@Nullable public final java.lang.String node()node nameAPI name:
node
-
id
@Nullable public final java.lang.String id()unique node idAPI name:
id
-
pid
@Nullable public final java.lang.String pid()process idAPI name:
pid
-
host
@Nullable public final java.lang.String host()host nameAPI name:
host
-
ip
@Nullable public final java.lang.String ip()ip addressAPI name:
ip
-
port
@Nullable public final java.lang.String port()bound transport portAPI name:
port
-
attr
@Nullable public final java.lang.String attr()attribute descriptionAPI name:
attr
-
value
@Nullable public final java.lang.String value()attribute valueAPI name:
value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupNodeAttributesRecordDeserializer
protected static void setupNodeAttributesRecordDeserializer(ObjectDeserializer<NodeAttributesRecord.Builder> op)
-