Package net.stickycode.kuuty.model.v18
Class IoK8sApiAutoscalingV2beta2PodsMetricSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAutoscalingV2beta2PodsMetricSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAutoscalingV2beta2PodsMetricSource 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
Fields Modifier and Type Field Description static StringJSON_PROPERTY_METRICstatic StringJSON_PROPERTY_TARGET
-
Constructor Summary
Constructors Constructor Description IoK8sApiAutoscalingV2beta2PodsMetricSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IoK8sApiAutoscalingV2beta2MetricIdentifiergetMetric()Get metricIoK8sApiAutoscalingV2beta2MetricTargetgetTarget()Get targetinthashCode()IoK8sApiAutoscalingV2beta2PodsMetricSourcemetric(IoK8sApiAutoscalingV2beta2MetricIdentifier metric)voidsetMetric(IoK8sApiAutoscalingV2beta2MetricIdentifier metric)voidsetTarget(IoK8sApiAutoscalingV2beta2MetricTarget target)IoK8sApiAutoscalingV2beta2PodsMetricSourcetarget(IoK8sApiAutoscalingV2beta2MetricTarget target)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_METRIC
public static final String JSON_PROPERTY_METRIC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TARGET
- See Also:
- Constant Field Values
-
-
Method Detail
-
metric
public IoK8sApiAutoscalingV2beta2PodsMetricSource metric(IoK8sApiAutoscalingV2beta2MetricIdentifier metric)
-
getMetric
public IoK8sApiAutoscalingV2beta2MetricIdentifier getMetric()
Get metric- Returns:
- metric
-
setMetric
public void setMetric(IoK8sApiAutoscalingV2beta2MetricIdentifier metric)
-
target
public IoK8sApiAutoscalingV2beta2PodsMetricSource target(IoK8sApiAutoscalingV2beta2MetricTarget target)
-
getTarget
public IoK8sApiAutoscalingV2beta2MetricTarget getTarget()
Get target- Returns:
- target
-
setTarget
public void setTarget(IoK8sApiAutoscalingV2beta2MetricTarget target)
-
-