Class ClusterIndicesShardsIndex
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterIndicesShardsIndex
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterIndicesShardsIndex extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterIndicesShardsIndex.BuilderBuilder forClusterIndicesShardsIndex.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterIndicesShardsIndex>_DESERIALIZERJson deserializer forClusterIndicesShardsIndex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterIndicesShardsIndexof(java.util.function.Function<ClusterIndicesShardsIndex.Builder,ObjectBuilder<ClusterIndicesShardsIndex>> fn)ClusterShardMetricsprimaries()Required - Contains statistics about the number of primary shards assigned to selected nodes.ClusterShardMetricsreplication()Required - 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)ClusterShardMetricsshards()Required - Contains statistics about the number of shards assigned to selected nodes.
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterIndicesShardsIndex> _DESERIALIZER
Json deserializer forClusterIndicesShardsIndex
-
-
Method Detail
-
of
public static ClusterIndicesShardsIndex of(java.util.function.Function<ClusterIndicesShardsIndex.Builder,ObjectBuilder<ClusterIndicesShardsIndex>> fn)
-
primaries
public final ClusterShardMetrics primaries()
Required - Contains statistics about the number of primary shards assigned to selected nodes.API name:
primaries
-
replication
public final ClusterShardMetrics replication()
Required - Contains statistics about the number of replication shards assigned to selected nodes.API name:
replication
-
shards
public final ClusterShardMetrics shards()
Required - Contains statistics about the number of shards assigned to selected nodes.API name:
shards
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupClusterIndicesShardsIndexDeserializer
protected static void setupClusterIndicesShardsIndexDeserializer(ObjectDeserializer<ClusterIndicesShardsIndex.Builder> op)
-
-