Class ExternalMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ExternalMetricStatus
-
- All Implemented Interfaces:
Editable<ExternalMetricStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ExternalMetricStatus extends Object implements Editable<ExternalMetricStatusBuilder>, KubernetesResource
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalMetricStatus()No args constructor for use in serializationExternalMetricStatus(Quantity currentAverageValue, Quantity currentValue, String metricName, LabelSelector metricSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()QuantitygetCurrentAverageValue()ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.QuantitygetCurrentValue()ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.StringgetMetricName()metricName is the name of a metric used for autoscaling in metric system.LabelSelectorgetMetricSelector()ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCurrentAverageValue(Quantity currentAverageValue)ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.voidsetCurrentValue(Quantity currentValue)ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.voidsetMetricName(String metricName)metricName is the name of a metric used for autoscaling in metric system.voidsetMetricSelector(LabelSelector metricSelector)ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.ExternalMetricStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
ExternalMetricStatus
public ExternalMetricStatus()
No args constructor for use in serialization
-
ExternalMetricStatus
public ExternalMetricStatus(Quantity currentAverageValue, Quantity currentValue, String metricName, LabelSelector metricSelector)
-
-
Method Detail
-
getCurrentAverageValue
public Quantity getCurrentAverageValue()
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
setCurrentAverageValue
public void setCurrentAverageValue(Quantity currentAverageValue)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
getCurrentValue
public Quantity getCurrentValue()
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
setCurrentValue
public void setCurrentValue(Quantity currentValue)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
getMetricName
public String getMetricName()
metricName is the name of a metric used for autoscaling in metric system.
-
setMetricName
public void setMetricName(String metricName)
metricName is the name of a metric used for autoscaling in metric system.
-
getMetricSelector
public LabelSelector getMetricSelector()
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
setMetricSelector
public void setMetricSelector(LabelSelector metricSelector)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
edit
public ExternalMetricStatusBuilder edit()
- Specified by:
editin interfaceEditable<ExternalMetricStatusBuilder>
-
toBuilder
public ExternalMetricStatusBuilder toBuilder()
-
-