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 classClusterOperatingSystem.BuilderBuilder forClusterOperatingSystem. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterOperatingSystem>_DESERIALIZERJson deserializer forClusterOperatingSystem -
Method Summary
Modifier and Type Method Description intallocatedProcessors()Required - API name:allocated_processorsjava.util.List<ClusterOperatingSystemArchitecture>architectures()API name:architecturesintavailableProcessors()Required - API name:available_processorsOperatingSystemMemoryInfomem()Required - API name:memjava.util.List<ClusterOperatingSystemName>names()Required - API name:namesstatic ClusterOperatingSystemof(java.util.function.Function<ClusterOperatingSystem.Builder,ObjectBuilder<ClusterOperatingSystem>> fn)java.util.List<ClusterOperatingSystemPrettyName>prettyNames()Required - API name:pretty_namesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupClusterOperatingSystemDeserializer
protected static void setupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op)
-