Class ClusterProcessCpu
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterProcessCpu
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final 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 -
Constructor Summary
Constructors Constructor Description ClusterProcessCpu(ClusterProcessCpu.Builder builder)ClusterProcessCpu(java.util.function.Function<ClusterProcessCpu.Builder,ClusterProcessCpu.Builder> fn) -
Method Summary
Modifier and Type Method Description intpercent()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(DelegatingDeserializer<ClusterProcessCpu.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterProcessCpu
-
-
Constructor Details
-
ClusterProcessCpu
-
ClusterProcessCpu
public ClusterProcessCpu(java.util.function.Function<ClusterProcessCpu.Builder,ClusterProcessCpu.Builder> fn)
-
-
Method Details
-
percent
public int percent()API name:percent -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupClusterProcessCpuDeserializer
protected static void setupClusterProcessCpuDeserializer(DelegatingDeserializer<ClusterProcessCpu.Builder> op)
-