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 for Memory.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static JsonpDeserializer<Memory> _DESERIALIZER
    Json deserializer for Memory
  • 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 toString()  
    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, wait, wait, wait
  • Field Details

  • Method Details

    • of

      public static Memory of​(java.util.function.Function<Memory.Builder,​ObjectBuilder<Memory>> fn)
    • attributes

      public final java.util.Map<java.lang.String,​java.lang.String> attributes()
      Required - API name: attributes
    • jvm

      public final JvmStats jvm()
      Required - Contains Java Virtual Machine (JVM) statistics for the node.

      API name: jvm

    • mem

      public final MemStats 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupMemoryDeserializer

      protected static void setupMemoryDeserializer​(ObjectDeserializer<Memory.Builder> op)