@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-07-29T18:17:00.375Z[Etc/UTC]") public class V2beta1PodsMetricSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_METRIC_NAME |
static String |
SERIALIZED_NAME_SELECTOR |
static String |
SERIALIZED_NAME_TARGET_AVERAGE_VALUE |
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()
Get selector
|
Quantity |
getTargetAverageValue()
Quantity is a fixed-point representation of a number.
|
int |
hashCode() |
V2beta1PodsMetricSource |
metricName(String metricName) |
V2beta1PodsMetricSource |
selector(V1LabelSelector selector) |
void |
setMetricName(String metricName) |
void |
setSelector(V1LabelSelector selector) |
void |
setTargetAverageValue(Quantity targetAverageValue) |
V2beta1PodsMetricSource |
targetAverageValue(Quantity targetAverageValue) |
String |
toString() |
public static final String SERIALIZED_NAME_METRIC_NAME
public static final String SERIALIZED_NAME_SELECTOR
public static final String SERIALIZED_NAME_TARGET_AVERAGE_VALUE
public V2beta1PodsMetricSource metricName(String metricName)
public String getMetricName()
public void setMetricName(String metricName)
public V2beta1PodsMetricSource selector(V1LabelSelector selector)
@Nullable public V1LabelSelector getSelector()
public void setSelector(V1LabelSelector selector)
public V2beta1PodsMetricSource targetAverageValue(Quantity targetAverageValue)
public Quantity getTargetAverageValue()
public void setTargetAverageValue(Quantity targetAverageValue)
Copyright © 2021. All rights reserved.