Class ClusterIndicesShardsIndex
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterIndicesShardsIndex
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ClusterIndicesShardsIndex extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
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.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 forClusterIndicesShardsIndex
-
-
Method Details
-
of
public static ClusterIndicesShardsIndex of(java.util.function.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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupClusterIndicesShardsIndexDeserializer
protected static void setupClusterIndicesShardsIndexDeserializer(ObjectDeserializer<ClusterIndicesShardsIndex.Builder> op)
-