Class MetricValueStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2.MetricValueStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MetricValueStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MetricValueStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MetricValueStatusBuilder>, io.fabric8.kubernetes.api.model.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, io.fabric8.kubernetes.api.model.Quantity averageValue, io.fabric8.kubernetes.api.model.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.io.fabric8.kubernetes.api.model.QuantitygetAverageValue()MetricValueStatus holds the current value for a metricio.fabric8.kubernetes.api.model.QuantitygetValue()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(io.fabric8.kubernetes.api.model.Quantity averageValue)MetricValueStatus holds the current value for a metricvoidsetValue(io.fabric8.kubernetes.api.model.Quantity value)MetricValueStatus holds the current value for a metricMetricValueStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
MetricValueStatus
public MetricValueStatus()
No args constructor for use in serialization
-
MetricValueStatus
public MetricValueStatus(Integer averageUtilization, io.fabric8.kubernetes.api.model.Quantity averageValue, io.fabric8.kubernetes.api.model.Quantity value)
-
-
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 io.fabric8.kubernetes.api.model.Quantity getAverageValue()
MetricValueStatus holds the current value for a metric
-
setAverageValue
public void setAverageValue(io.fabric8.kubernetes.api.model.Quantity averageValue)
MetricValueStatus holds the current value for a metric
-
getValue
public io.fabric8.kubernetes.api.model.Quantity getValue()
MetricValueStatus holds the current value for a metric
-
setValue
public void setValue(io.fabric8.kubernetes.api.model.Quantity value)
MetricValueStatus holds the current value for a metric
-
edit
public MetricValueStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MetricValueStatusBuilder>
-
toBuilder
public MetricValueStatusBuilder toBuilder()
-
-