Class V2PodsMetricSource
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2PodsMetricSource
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
int
hashCode()
metric
(V2MetricIdentifier metric) Set metric in a chainable fashion.void
setMetric
(V2MetricIdentifier metric) Set the metric property valuevoid
setTarget
(V2MetricTarget target) Set the target property valuetarget
(V2MetricTarget target) Set target in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_METRIC
- See Also:
-
JSON_PROPERTY_TARGET
- See Also:
-
-
Constructor Details
-
V2PodsMetricSource
-
-
Method Details
-
getMetric
- Returns:
- the metric property value
-
setMetric
Set the metric property value -
metric
Set metric in a chainable fashion.- Returns:
- The same instance of V2PodsMetricSource for chaining.
-
getTarget
- Returns:
- the target property value
-
setTarget
Set the target property value -
target
Set target in a chainable fashion.- Returns:
- The same instance of V2PodsMetricSource for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-