Class Memory
java.lang.Object
co.elastic.clients.elasticsearch.ml.get_memory_stats.Memory
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Memory extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Memory.Builder
Builder forMemory
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Memory>
_DESERIALIZER
Json deserializer forMemory
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
attributes()
Required - API name:attributes
java.lang.String
ephemeralId()
Required - API name:ephemeral_id
JvmStats
jvm()
Required - Contains Java Virtual Machine (JVM) statistics for the node.MemStats
mem()
Required - Contains statistics about memory usage for the node.java.lang.String
name()
Required - Human-readable identifier for the node.static Memory
of(java.util.function.Function<Memory.Builder,ObjectBuilder<Memory>> fn)
java.util.List<java.lang.String>
roles()
Required - Roles assigned to the node.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
setupMemoryDeserializer(ObjectDeserializer<Memory.Builder> op)
java.lang.String
transportAddress()
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 forMemory
-
-
Method Details
-
of
-
attributes
public final java.util.Map<java.lang.String,java.lang.String> attributes()Required - API name:attributes
-
jvm
Required - Contains Java Virtual Machine (JVM) statistics for the node.API name:
jvm
-
mem
Required - Contains statistics about memory usage for the node.API name:
mem
-
name
public final java.lang.String name()Required - Human-readable identifier for the node. Based on the Node name setting setting.API name:
name
-
roles
public final java.util.List<java.lang.String> roles()Required - Roles assigned to the node.API name:
roles
-
transportAddress
public final java.lang.String transportAddress()Required - The host and port where transport HTTP connections are accepted.API name:
transport_address
-
ephemeralId
public final java.lang.String ephemeralId()Required - API name:ephemeral_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupMemoryDeserializer
-