@Generated(value="org.jsonschema2pojo") public class ExternalMetricStatus extends Object implements KubernetesResource
Constructor and Description |
---|
ExternalMetricStatus()
No args constructor for use in serialization
|
ExternalMetricStatus(Quantity currentAverageValue,
Quantity currentValue,
String metricName,
LabelSelector metricSelector) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Quantity |
getCurrentAverageValue() |
Quantity |
getCurrentValue() |
String |
getMetricName() |
LabelSelector |
getMetricSelector() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCurrentAverageValue(Quantity currentAverageValue) |
void |
setCurrentValue(Quantity currentValue) |
void |
setMetricName(String metricName) |
void |
setMetricSelector(LabelSelector metricSelector) |
public ExternalMetricStatus()
public ExternalMetricStatus(Quantity currentAverageValue, Quantity currentValue, String metricName, LabelSelector metricSelector)
metricSelector
- metricName
- currentAverageValue
- currentValue
- public Quantity getCurrentAverageValue()
public void setCurrentAverageValue(Quantity currentAverageValue)
currentAverageValue
- The currentAverageValuepublic Quantity getCurrentValue()
public void setCurrentValue(Quantity currentValue)
currentValue
- The currentValuepublic String getMetricName()
public void setMetricName(String metricName)
metricName
- The metricNamepublic LabelSelector getMetricSelector()
public void setMetricSelector(LabelSelector metricSelector)
metricSelector
- The metricSelectorCopyright © 2015–2020 Red Hat. All rights reserved.