public class V2beta1ObjectMetricStatus extends Object
Constructor and Description |
---|
V2beta1ObjectMetricStatus() |
Modifier and Type | Method and Description |
---|---|
V2beta1ObjectMetricStatus |
averageValue(String averageValue) |
V2beta1ObjectMetricStatus |
currentValue(String currentValue) |
boolean |
equals(Object o) |
String |
getAverageValue()
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
String |
getCurrentValue()
currentValue is the current value of the metric (as a quantity).
|
String |
getMetricName()
metricName is the name of the metric in question.
|
V1LabelSelector |
getSelector()
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping.
|
V2beta1CrossVersionObjectReference |
getTarget()
target is the described Kubernetes object.
|
int |
hashCode() |
V2beta1ObjectMetricStatus |
metricName(String metricName) |
V2beta1ObjectMetricStatus |
selector(V1LabelSelector selector) |
void |
setAverageValue(String averageValue) |
void |
setCurrentValue(String currentValue) |
void |
setMetricName(String metricName) |
void |
setSelector(V1LabelSelector selector) |
void |
setTarget(V2beta1CrossVersionObjectReference target) |
V2beta1ObjectMetricStatus |
target(V2beta1CrossVersionObjectReference target) |
String |
toString() |
public V2beta1ObjectMetricStatus averageValue(String averageValue)
public String getAverageValue()
public void setAverageValue(String averageValue)
public V2beta1ObjectMetricStatus currentValue(String currentValue)
public String getCurrentValue()
public void setCurrentValue(String currentValue)
public V2beta1ObjectMetricStatus metricName(String metricName)
public String getMetricName()
public void setMetricName(String metricName)
public V2beta1ObjectMetricStatus selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V2beta1ObjectMetricStatus target(V2beta1CrossVersionObjectReference target)
public V2beta1CrossVersionObjectReference getTarget()
public void setTarget(V2beta1CrossVersionObjectReference target)
Copyright © 2019. All rights reserved.