Class ObjectMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ObjectMetricStatus
-
- All Implemented Interfaces:
Editable<ObjectMetricStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ObjectMetricStatus extends Object implements Editable<ObjectMetricStatusBuilder>, KubernetesResource
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectMetricStatus()No args constructor for use in serializationObjectMetricStatus(Quantity averageValue, Quantity currentValue, String metricName, LabelSelector selector, CrossVersionObjectReference target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()QuantitygetAverageValue()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).QuantitygetCurrentValue()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).StringgetMetricName()metricName is the name of the metric in question.LabelSelectorgetSelector()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).CrossVersionObjectReferencegetTarget()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAverageValue(Quantity averageValue)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetCurrentValue(Quantity currentValue)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetMetricName(String metricName)metricName is the name of the metric in question.voidsetSelector(LabelSelector selector)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetTarget(CrossVersionObjectReference target)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).ObjectMetricStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
ObjectMetricStatus
public ObjectMetricStatus()
No args constructor for use in serialization
-
ObjectMetricStatus
public ObjectMetricStatus(Quantity averageValue, Quantity currentValue, String metricName, LabelSelector selector, CrossVersionObjectReference target)
-
-
Method Detail
-
getAverageValue
public Quantity getAverageValue()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setAverageValue
public void setAverageValue(Quantity averageValue)
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
getCurrentValue
public Quantity getCurrentValue()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setCurrentValue
public void setCurrentValue(Quantity currentValue)
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
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()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setSelector
public void setSelector(LabelSelector selector)
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
getTarget
public CrossVersionObjectReference getTarget()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setTarget
public void setTarget(CrossVersionObjectReference target)
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
edit
public ObjectMetricStatusBuilder edit()
- Specified by:
editin interfaceEditable<ObjectMetricStatusBuilder>
-
toBuilder
public ObjectMetricStatusBuilder toBuilder()
-
-