public class V2beta1PodsMetricSource extends Object
Constructor and Description |
---|
V2beta1PodsMetricSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
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, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
|
String |
getTargetAverageValue()
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
int |
hashCode() |
V2beta1PodsMetricSource |
metricName(String metricName) |
V2beta1PodsMetricSource |
selector(V1LabelSelector selector) |
void |
setMetricName(String metricName) |
void |
setSelector(V1LabelSelector selector) |
void |
setTargetAverageValue(String targetAverageValue) |
V2beta1PodsMetricSource |
targetAverageValue(String targetAverageValue) |
String |
toString() |
public V2beta1PodsMetricSource metricName(String metricName)
public String getMetricName()
public void setMetricName(String metricName)
public V2beta1PodsMetricSource selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V2beta1PodsMetricSource targetAverageValue(String targetAverageValue)
public String getTargetAverageValue()
public void setTargetAverageValue(String targetAverageValue)
Copyright © 2019. All rights reserved.