public class V2beta1ObjectMetricSource extends Object
Constructor and Description |
---|
V2beta1ObjectMetricSource() |
Modifier and Type | Method and Description |
---|---|
V2beta1ObjectMetricSource |
averageValue(String averageValue) |
boolean |
equals(Object o) |
String |
getAverageValue()
averageValue is the target value of the average of the metric across all relevant pods (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, 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.
|
V2beta1CrossVersionObjectReference |
getTarget()
target is the described Kubernetes object.
|
String |
getTargetValue()
targetValue is the target value of the metric (as a quantity).
|
int |
hashCode() |
V2beta1ObjectMetricSource |
metricName(String metricName) |
V2beta1ObjectMetricSource |
selector(V1LabelSelector selector) |
void |
setAverageValue(String averageValue) |
void |
setMetricName(String metricName) |
void |
setSelector(V1LabelSelector selector) |
void |
setTarget(V2beta1CrossVersionObjectReference target) |
void |
setTargetValue(String targetValue) |
V2beta1ObjectMetricSource |
target(V2beta1CrossVersionObjectReference target) |
V2beta1ObjectMetricSource |
targetValue(String targetValue) |
String |
toString() |
public V2beta1ObjectMetricSource averageValue(String averageValue)
public String getAverageValue()
public void setAverageValue(String averageValue)
public V2beta1ObjectMetricSource metricName(String metricName)
public String getMetricName()
public void setMetricName(String metricName)
public V2beta1ObjectMetricSource selector(V1LabelSelector selector)
public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V2beta1ObjectMetricSource target(V2beta1CrossVersionObjectReference target)
public V2beta1CrossVersionObjectReference getTarget()
public void setTarget(V2beta1CrossVersionObjectReference target)
public V2beta1ObjectMetricSource targetValue(String targetValue)
public String getTargetValue()
public void setTargetValue(String targetValue)
Copyright © 2018. All rights reserved.