Package net.stickycode.kuuty.model.v18
Class IoK8sApiAutoscalingV2beta2ResourceMetricSource
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAutoscalingV2beta2ResourceMetricSource
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAutoscalingV2beta2ResourceMetricSource extends Object
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. Only one \"target\" type should be set.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_TARGET
-
Constructor Summary
Constructors Constructor Description IoK8sApiAutoscalingV2beta2ResourceMetricSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()name is the name of the resource in question.IoK8sApiAutoscalingV2beta2MetricTargetgetTarget()Get targetinthashCode()IoK8sApiAutoscalingV2beta2ResourceMetricSourcename(String name)voidsetName(String name)voidsetTarget(IoK8sApiAutoscalingV2beta2MetricTarget target)IoK8sApiAutoscalingV2beta2ResourceMetricSourcetarget(IoK8sApiAutoscalingV2beta2MetricTarget target)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TARGET
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public IoK8sApiAutoscalingV2beta2ResourceMetricSource name(String name)
-
getName
public String getName()
name is the name of the resource in question.- Returns:
- name
-
setName
public void setName(String name)
-
target
public IoK8sApiAutoscalingV2beta2ResourceMetricSource target(IoK8sApiAutoscalingV2beta2MetricTarget target)
-
getTarget
public IoK8sApiAutoscalingV2beta2MetricTarget getTarget()
Get target- Returns:
- target
-
setTarget
public void setTarget(IoK8sApiAutoscalingV2beta2MetricTarget target)
-
-