Class ObjectMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ObjectMetricStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ObjectMetricStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ObjectMetricStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ObjectMetricStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceObjectMetricStatus 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(io.fabric8.kubernetes.api.model.Quantity averageValue, io.fabric8.kubernetes.api.model.Quantity currentValue, String metricName, io.fabric8.kubernetes.api.model.LabelSelector selector, CrossVersionObjectReference target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()io.fabric8.kubernetes.api.model.QuantitygetAverageValue()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).io.fabric8.kubernetes.api.model.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.io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.Quantity averageValue)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetCurrentValue(io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.Quantity averageValue, io.fabric8.kubernetes.api.model.Quantity currentValue, String metricName, io.fabric8.kubernetes.api.model.LabelSelector selector, CrossVersionObjectReference target)
-
-
Method Detail
-
getAverageValue
public io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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 io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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 io.fabric8.kubernetes.api.model.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(io.fabric8.kubernetes.api.model.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 interfaceio.fabric8.kubernetes.api.builder.Editable<ObjectMetricStatusBuilder>
-
toBuilder
public ObjectMetricStatusBuilder toBuilder()
-
-