Class GetMemoryStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.ml.GetMemoryStatsResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetMemoryStatsResponse extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetMemoryStatsResponse.BuilderBuilder forGetMemoryStatsResponse. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetMemoryStatsResponse>_DESERIALIZERJson deserializer forGetMemoryStatsResponse -
Method Summary
Modifier and Type Method Description java.lang.StringclusterName()Required - API name:cluster_namejava.util.Map<java.lang.String,Memory>nodes()Required - API name:nodesNodeStatisticsnodeStats()Required - API name:_nodesstatic GetMemoryStatsResponseof(java.util.function.Function<GetMemoryStatsResponse.Builder,ObjectBuilder<GetMemoryStatsResponse>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGetMemoryStatsResponseDeserializer(ObjectDeserializer<GetMemoryStatsResponse.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetMemoryStatsResponse
-
-
Method Details
-
of
public static GetMemoryStatsResponse of(java.util.function.Function<GetMemoryStatsResponse.Builder,ObjectBuilder<GetMemoryStatsResponse>> fn) -
nodeStats
Required - API name:_nodes -
clusterName
public final java.lang.String clusterName()Required - API name:cluster_name -
nodes
Required - API name:nodes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupGetMemoryStatsResponseDeserializer
protected static void setupGetMemoryStatsResponseDeserializer(ObjectDeserializer<GetMemoryStatsResponse.Builder> op)
-