Class ClusterOperatingSystemArchitecture
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterOperatingSystemArchitecture
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterOperatingSystemArchitecture.Builder,ClusterOperatingSystemArchitecture>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterOperatingSystemArchitecture
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterOperatingSystemArchitecture.Builder,ClusterOperatingSystemArchitecture>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterOperatingSystemArchitecture> Json deserializer forClusterOperatingSystemArchitecture -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarch()Required - Name of an architecture used by one or more selected nodes.builder()final intcount()Required - Number of selected nodes using the architecture.booleaninthashCode()of(Function<ClusterOperatingSystemArchitecture.Builder, ObjectBuilder<ClusterOperatingSystemArchitecture>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupClusterOperatingSystemArchitectureDeserializer(ObjectDeserializer<ClusterOperatingSystemArchitecture.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 forClusterOperatingSystemArchitecture
-
-
Method Details
-
of
-
arch
Required - Name of an architecture used by one or more selected nodes.API name:
arch -
count
public final int count()Required - Number of selected nodes using the architecture.API name:
count -
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<ClusterOperatingSystemArchitecture.Builder,ClusterOperatingSystemArchitecture> - Returns:
- a new builder instance.
-
builder
-
setupClusterOperatingSystemArchitectureDeserializer
protected static void setupClusterOperatingSystemArchitectureDeserializer(ObjectDeserializer<ClusterOperatingSystemArchitecture.Builder> op) -
hashCode
public int hashCode() -
equals
-