Class PodsMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.PodsMetricStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PodsMetricStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodsMetricStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<PodsMetricStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourcePodsMetricStatus 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(io.fabric8.kubernetes.api.model.Quantity currentAverageValue, String metricName, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodsMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.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 questionio.fabric8.kubernetes.api.model.LabelSelectorgetSelector()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(io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.Quantity currentAverageValue, String metricName, io.fabric8.kubernetes.api.model.LabelSelector selector)
-
-
Method Detail
-
getCurrentAverageValue
public io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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 io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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 interfaceio.fabric8.kubernetes.api.builder.Editable<PodsMetricStatusBuilder>
-
toBuilder
public PodsMetricStatusBuilder toBuilder()
-
-