Class ClusterOperatingSystemPrettyName
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterOperatingSystemPrettyName
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterOperatingSystemPrettyName.Builder,ClusterOperatingSystemPrettyName>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterOperatingSystemPrettyName
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterOperatingSystemPrettyName.Builder,ClusterOperatingSystemPrettyName>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterOperatingSystemPrettyName> Json deserializer forClusterOperatingSystemPrettyName -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final intcount()Required - Number of selected nodes using the operating system.booleaninthashCode()of(Function<ClusterOperatingSystemPrettyName.Builder, ObjectBuilder<ClusterOperatingSystemPrettyName>> fn) final StringAPI name:pretty_namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupClusterOperatingSystemPrettyNameDeserializer(ObjectDeserializer<ClusterOperatingSystemPrettyName.Builder> op) Create 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 forClusterOperatingSystemPrettyName
-
-
Method Details
-
of
-
count
public final int count()Required - Number of selected nodes using the operating system.API name:
count -
prettyName
API name:pretty_name -
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<ClusterOperatingSystemPrettyName.Builder,ClusterOperatingSystemPrettyName> - Returns:
- a new builder instance.
-
builder
-
setupClusterOperatingSystemPrettyNameDeserializer
protected static void setupClusterOperatingSystemPrettyNameDeserializer(ObjectDeserializer<ClusterOperatingSystemPrettyName.Builder> op) -
hashCode
public int hashCode() -
equals
-