Class ClusterOperatingSystem
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterOperatingSystem
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterOperatingSystem extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterOperatingSystem.Builder
Builder forClusterOperatingSystem
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterOperatingSystem>
_DESERIALIZER
Json deserializer forClusterOperatingSystem
-
Method Summary
Modifier and Type Method Description int
allocatedProcessors()
Required - API name:allocated_processors
java.util.List<ClusterOperatingSystemArchitecture>
architectures()
API name:architectures
int
availableProcessors()
Required - API name:available_processors
OperatingSystemMemoryInfo
mem()
Required - API name:mem
java.util.List<ClusterOperatingSystemName>
names()
Required - API name:names
static ClusterOperatingSystem
of(java.util.function.Function<ClusterOperatingSystem.Builder,ObjectBuilder<ClusterOperatingSystem>> fn)
java.util.List<ClusterOperatingSystemPrettyName>
prettyNames()
Required - API name:pretty_names
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
setupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterOperatingSystem
-
-
Method Details
-
of
public static ClusterOperatingSystem of(java.util.function.Function<ClusterOperatingSystem.Builder,ObjectBuilder<ClusterOperatingSystem>> fn) -
allocatedProcessors
public final int allocatedProcessors()Required - API name:allocated_processors
-
availableProcessors
public final int availableProcessors()Required - API name:available_processors
-
mem
Required - API name:mem
-
names
Required - API name:names
-
prettyNames
Required - API name:pretty_names
-
architectures
API name:architectures
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupClusterOperatingSystemDeserializer
protected static void setupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op)
-