Class V2PodsMetricSource
java.lang.Object
io.kubernetes.client.openapi.models.V2PodsMetricSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V2PodsMetricSource
extends Object
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get metricGet targetint
hashCode()
metric
(V2MetricIdentifier metric) void
setMetric
(V2MetricIdentifier metric) void
setTarget
(V2MetricTarget target) target
(V2MetricTarget target) toString()
-
Field Details
-
SERIALIZED_NAME_METRIC
- See Also:
-
SERIALIZED_NAME_TARGET
- See Also:
-
-
Constructor Details
-
V2PodsMetricSource
public V2PodsMetricSource()
-
-
Method Details