Class ClusterIndicesShardsIndex
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterIndicesShardsIndex
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterIndicesShardsIndex.Builder,ClusterIndicesShardsIndex>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterIndicesShardsIndex
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterIndicesShardsIndex.Builder,ClusterIndicesShardsIndex>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterIndicesShardsIndex> Json deserializer forClusterIndicesShardsIndex -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static ClusterIndicesShardsIndexfinal ClusterShardMetricsRequired - Contains statistics about the number of primary shards assigned to selected nodes.final ClusterShardMetricsRequired - Contains statistics about the number of replication shards assigned to selected nodes.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupClusterIndicesShardsIndexDeserializer(ObjectDeserializer<ClusterIndicesShardsIndex.Builder> op) final ClusterShardMetricsshards()Required - Contains statistics about the number of shards assigned to selected nodes.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 forClusterIndicesShardsIndex
-
-
Method Details
-
of
public static ClusterIndicesShardsIndex of(Function<ClusterIndicesShardsIndex.Builder, ObjectBuilder<ClusterIndicesShardsIndex>> fn) -
primaries
Required - Contains statistics about the number of primary shards assigned to selected nodes.API name:
primaries -
replication
Required - Contains statistics about the number of replication shards assigned to selected nodes.API name:
replication -
shards
Required - Contains statistics about the number of shards assigned to selected nodes.API name:
shards -
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<ClusterIndicesShardsIndex.Builder,ClusterIndicesShardsIndex> - Returns:
- a new builder instance.
-
builder
-
setupClusterIndicesShardsIndexDeserializer
protected static void setupClusterIndicesShardsIndexDeserializer(ObjectDeserializer<ClusterIndicesShardsIndex.Builder> op) -
hashCode
public int hashCode() -
equals
-