Class OperatingSystem
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.OperatingSystem
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<OperatingSystem.Builder,OperatingSystem>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class OperatingSystem
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<OperatingSystem.Builder,OperatingSystem>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<OperatingSystem> Json deserializer forOperatingSystem -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatingSystem.Builderbuilder()final CgroupStatscgroup()API name:cgroupfinal OperatingSystemCpuStatscpu()API name:cpubooleaninthashCode()final ExtendedMemoryStatsmem()API name:memstatic OperatingSystemvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal MemoryStatsswap()API name:swapfinal LongAPI name:timestampCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forOperatingSystem
-
-
Method Details
-
of
public static OperatingSystem of(Function<OperatingSystem.Builder, ObjectBuilder<OperatingSystem>> fn) -
cgroup
API name:cgroup -
cpu
API name:cpu -
mem
API name:mem -
swap
API name:swap -
timestamp
API name:timestamp -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<OperatingSystem.Builder,OperatingSystem> - Returns:
- a new builder instance.
-
builder
-
setupOperatingSystemDeserializer
protected static void setupOperatingSystemDeserializer(ObjectDeserializer<OperatingSystem.Builder> op) -
hashCode
public int hashCode() -
equals
-