Class ExternalMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ExternalMetricStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ExternalMetricStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ExternalMetricStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ExternalMetricStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceExternalMetricStatus 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(io.fabric8.kubernetes.api.model.Quantity currentAverageValue, io.fabric8.kubernetes.api.model.Quantity currentValue, String metricName, io.fabric8.kubernetes.api.model.LabelSelector metricSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.QuantitygetCurrentAverageValue()ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.io.fabric8.kubernetes.api.model.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.io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.Quantity currentAverageValue)ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.voidsetCurrentValue(io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.Quantity currentAverageValue, io.fabric8.kubernetes.api.model.Quantity currentValue, String metricName, io.fabric8.kubernetes.api.model.LabelSelector metricSelector)
-
-
Method Detail
-
getCurrentAverageValue
public io.fabric8.kubernetes.api.model.Quantity getCurrentAverageValue()
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
setCurrentAverageValue
public void setCurrentAverageValue(io.fabric8.kubernetes.api.model.Quantity currentAverageValue)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
getCurrentValue
public io.fabric8.kubernetes.api.model.Quantity getCurrentValue()
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
setCurrentValue
public void setCurrentValue(io.fabric8.kubernetes.api.model.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 io.fabric8.kubernetes.api.model.LabelSelector getMetricSelector()
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
setMetricSelector
public void setMetricSelector(io.fabric8.kubernetes.api.model.LabelSelector metricSelector)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
edit
public ExternalMetricStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ExternalMetricStatusBuilder>
-
toBuilder
public ExternalMetricStatusBuilder toBuilder()
-
-