public class V2beta1ExternalMetricSource extends Object
Constructor and Description |
---|
V2beta1ExternalMetricSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getMetricName()
metricName is the name of the metric in question.
|
V1LabelSelector |
getMetricSelector()
metricSelector is used to identify a specific time series within a given metric.
|
Quantity |
getTargetAverageValue()
targetAverageValue is the target per-pod value of global metric (as a quantity).
|
Quantity |
getTargetValue()
targetValue is the target value of the metric (as a quantity).
|
int |
hashCode() |
V2beta1ExternalMetricSource |
metricName(String metricName) |
V2beta1ExternalMetricSource |
metricSelector(V1LabelSelector metricSelector) |
void |
setMetricName(String metricName) |
void |
setMetricSelector(V1LabelSelector metricSelector) |
void |
setTargetAverageValue(Quantity targetAverageValue) |
void |
setTargetValue(Quantity targetValue) |
V2beta1ExternalMetricSource |
targetAverageValue(Quantity targetAverageValue) |
V2beta1ExternalMetricSource |
targetValue(Quantity targetValue) |
String |
toString() |
public V2beta1ExternalMetricSource metricName(String metricName)
public String getMetricName()
public void setMetricName(String metricName)
public V2beta1ExternalMetricSource metricSelector(V1LabelSelector metricSelector)
public V1LabelSelector getMetricSelector()
public void setMetricSelector(V1LabelSelector metricSelector)
public V2beta1ExternalMetricSource targetAverageValue(Quantity targetAverageValue)
public Quantity getTargetAverageValue()
public void setTargetAverageValue(Quantity targetAverageValue)
public V2beta1ExternalMetricSource targetValue(Quantity targetValue)
public Quantity getTargetValue()
public void setTargetValue(Quantity targetValue)
Copyright © 2019. All rights reserved.