Class ClusterShardMetrics
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterShardMetrics
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterShardMetrics>Json deserializer forClusterShardMetrics -
Method Summary
Modifier and TypeMethodDescriptionfinal doubleavg()Required - API name:avgfinal doublemax()Required - API name:maxfinal doublemin()Required - API name:minstatic ClusterShardMetricsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterShardMetrics
-
-
Method Details
-
of
public static ClusterShardMetrics of(Function<ClusterShardMetrics.Builder, ObjectBuilder<ClusterShardMetrics>> fn) -
avg
public final double avg()Required - API name:avg -
max
public final double max()Required - API name:max -
min
public final double min()Required - API name:min -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterShardMetricsDeserializer
protected static void setupClusterShardMetricsDeserializer(ObjectDeserializer<ClusterShardMetrics.Builder> op)
-