Class ObjectMetricStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta2.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.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(MetricValueStatus current, CrossVersionObjectReference describedObject, MetricIdentifier metric)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectMetricStatusBuilderedit()Map<String,Object>getAdditionalProperties()MetricValueStatusgetCurrent()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).CrossVersionObjectReferencegetDescribedObject()ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).MetricIdentifiergetMetric()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)voidsetCurrent(MetricValueStatus current)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetDescribedObject(CrossVersionObjectReference describedObject)ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).voidsetMetric(MetricIdentifier metric)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(MetricValueStatus current, CrossVersionObjectReference describedObject, MetricIdentifier metric)
-
-
Method Detail
-
getCurrent
public MetricValueStatus getCurrent()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setCurrent
public void setCurrent(MetricValueStatus current)
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
getDescribedObject
public CrossVersionObjectReference getDescribedObject()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setDescribedObject
public void setDescribedObject(CrossVersionObjectReference describedObject)
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
getMetric
public MetricIdentifier getMetric()
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
-
setMetric
public void setMetric(MetricIdentifier metric)
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()
-
-