Package net.stickycode.kuuty.model.v18
Class IoK8sApiAutoscalingV2beta2ResourceMetricStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAutoscalingV2beta2ResourceMetricStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAutoscalingV2beta2ResourceMetricStatus extends Object
ResourceMetricStatus indicates the current value of 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). 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.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENTstatic StringJSON_PROPERTY_NAME
-
Constructor Summary
Constructors Constructor Description IoK8sApiAutoscalingV2beta2ResourceMetricStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiAutoscalingV2beta2ResourceMetricStatuscurrent(IoK8sApiAutoscalingV2beta2MetricValueStatus current)booleanequals(Object o)IoK8sApiAutoscalingV2beta2MetricValueStatusgetCurrent()Get currentStringgetName()Name is the name of the resource in question.inthashCode()IoK8sApiAutoscalingV2beta2ResourceMetricStatusname(String name)voidsetCurrent(IoK8sApiAutoscalingV2beta2MetricValueStatus current)voidsetName(String name)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_CURRENT
public static final String JSON_PROPERTY_CURRENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
current
public IoK8sApiAutoscalingV2beta2ResourceMetricStatus current(IoK8sApiAutoscalingV2beta2MetricValueStatus current)
-
getCurrent
public IoK8sApiAutoscalingV2beta2MetricValueStatus getCurrent()
Get current- Returns:
- current
-
setCurrent
public void setCurrent(IoK8sApiAutoscalingV2beta2MetricValueStatus current)
-
name
public IoK8sApiAutoscalingV2beta2ResourceMetricStatus name(String name)
-
getName
public String getName()
Name is the name of the resource in question.- Returns:
- name
-
setName
public void setName(String name)
-
-