Class NodeUsage
- java.lang.Object
-
- org.opensearch.client.opensearch.nodes.usage.NodeUsage
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class NodeUsage extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NodeUsage.Builder
Builder forNodeUsage
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeUsage>
_DESERIALIZER
Json deserializer forNodeUsage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,JsonData>
aggregations()
Required - API name:aggregations
static NodeUsage
of(java.util.function.Function<NodeUsage.Builder,ObjectBuilder<NodeUsage>> fn)
java.util.Map<java.lang.String,java.lang.Integer>
restActions()
Required - API name:rest_actions
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
setupNodeUsageDeserializer(ObjectDeserializer<NodeUsage.Builder> op)
java.lang.String
since()
Required - API name:since
java.lang.String
timestamp()
Required - API name:timestamp
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<NodeUsage> _DESERIALIZER
Json deserializer forNodeUsage
-
-
Method Detail
-
of
public static NodeUsage of(java.util.function.Function<NodeUsage.Builder,ObjectBuilder<NodeUsage>> fn)
-
restActions
public final java.util.Map<java.lang.String,java.lang.Integer> restActions()
Required - API name:rest_actions
-
since
public final java.lang.String since()
Required - API name:since
-
timestamp
public final java.lang.String timestamp()
Required - API name:timestamp
-
aggregations
public final java.util.Map<java.lang.String,JsonData> aggregations()
Required - API name:aggregations
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupNodeUsageDeserializer
protected static void setupNodeUsageDeserializer(ObjectDeserializer<NodeUsage.Builder> op)
-
-