Class MetricValueStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta2.MetricValueStatus
-
- All Implemented Interfaces:
Editable<MetricValueStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetricValueStatus extends Object implements Editable<MetricValueStatusBuilder>, KubernetesResource
MetricValueStatus holds the current value for a metric- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MetricValueStatus()No args constructor for use in serializationMetricValueStatus(Integer averageUtilization, Quantity averageValue, Quantity value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricValueStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAverageUtilization()currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.QuantitygetAverageValue()MetricValueStatus holds the current value for a metricQuantitygetValue()MetricValueStatus holds the current value for a metricvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAverageUtilization(Integer averageUtilization)currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.voidsetAverageValue(Quantity averageValue)MetricValueStatus holds the current value for a metricvoidsetValue(Quantity value)MetricValueStatus holds the current value for a metricMetricValueStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAverageUtilization
public Integer getAverageUtilization()
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
-
setAverageUtilization
public void setAverageUtilization(Integer averageUtilization)
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
-
getAverageValue
public Quantity getAverageValue()
MetricValueStatus holds the current value for a metric
-
setAverageValue
public void setAverageValue(Quantity averageValue)
MetricValueStatus holds the current value for a metric
-
getValue
public Quantity getValue()
MetricValueStatus holds the current value for a metric
-
setValue
public void setValue(Quantity value)
MetricValueStatus holds the current value for a metric
-
edit
public MetricValueStatusBuilder edit()
- Specified by:
editin interfaceEditable<MetricValueStatusBuilder>
-
toBuilder
public MetricValueStatusBuilder toBuilder()
-
-