Class PodsMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.PodsMetricStatus
-
- All Implemented Interfaces:
Editable<PodsMetricStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodsMetricStatus extends Object implements Editable<PodsMetricStatusBuilder>, KubernetesResource
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodsMetricStatus()No args constructor for use in serializationPodsMetricStatus(Quantity currentAverageValue, String metricName, LabelSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodsMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()QuantitygetCurrentAverageValue()PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).StringgetMetricName()metricName is the name of the metric in questionLabelSelectorgetSelector()PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCurrentAverageValue(Quantity currentAverageValue)PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).voidsetMetricName(String metricName)metricName is the name of the metric in questionvoidsetSelector(LabelSelector selector)PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).PodsMetricStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
PodsMetricStatus
public PodsMetricStatus()
No args constructor for use in serialization
-
PodsMetricStatus
public PodsMetricStatus(Quantity currentAverageValue, String metricName, LabelSelector selector)
-
-
Method Detail
-
getCurrentAverageValue
public Quantity getCurrentAverageValue()
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
-
setCurrentAverageValue
public void setCurrentAverageValue(Quantity currentAverageValue)
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
-
getMetricName
public String getMetricName()
metricName is the name of the metric in question
-
setMetricName
public void setMetricName(String metricName)
metricName is the name of the metric in question
-
getSelector
public LabelSelector getSelector()
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
-
setSelector
public void setSelector(LabelSelector selector)
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
-
edit
public PodsMetricStatusBuilder edit()
- Specified by:
editin interfaceEditable<PodsMetricStatusBuilder>
-
toBuilder
public PodsMetricStatusBuilder toBuilder()
-
-