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 class
ClusterIndicesShardsIndex.Builder
Builder forClusterIndicesShardsIndex
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterIndicesShardsIndex>
_DESERIALIZER
Json deserializer forClusterIndicesShardsIndex
-
Method Summary
Modifier and Type Method Description static ClusterIndicesShardsIndex
of(java.util.function.Function<ClusterIndicesShardsIndex.Builder,ObjectBuilder<ClusterIndicesShardsIndex>> fn)
ClusterShardMetrics
primaries()
Required - Contains statistics about the number of primary shards assigned to selected nodes.ClusterShardMetrics
replication()
Required - Contains statistics about the number of replication shards assigned to selected nodes.void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupClusterIndicesShardsIndexDeserializer(ObjectDeserializer<ClusterIndicesShardsIndex.Builder> op)
ClusterShardMetrics
shards()
Required - Contains statistics about the number of shards assigned to selected nodes.java.lang.String
toString()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupClusterIndicesShardsIndexDeserializer
protected static void setupClusterIndicesShardsIndexDeserializer(ObjectDeserializer<ClusterIndicesShardsIndex.Builder> op)
-