Class ClusterProcessCpu
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterProcessCpu
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterProcessCpu extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterProcessCpu.BuilderBuilder forClusterProcessCpu.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterProcessCpu>_DESERIALIZERJson deserializer forClusterProcessCpu
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterProcessCpuof(java.util.function.Function<ClusterProcessCpu.Builder,ObjectBuilder<ClusterProcessCpu>> fn)intpercent()Required - API name:percentvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterProcessCpuDeserializer(ObjectDeserializer<ClusterProcessCpu.Builder> op)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterProcessCpu> _DESERIALIZER
Json deserializer forClusterProcessCpu
-
-
Method Detail
-
of
public static ClusterProcessCpu of(java.util.function.Function<ClusterProcessCpu.Builder,ObjectBuilder<ClusterProcessCpu>> fn)
-
percent
public final int percent()
Required - API name:percent
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClusterProcessCpuDeserializer
protected static void setupClusterProcessCpuDeserializer(ObjectDeserializer<ClusterProcessCpu.Builder> op)
-
-