@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-12-10T19:11:23.904Z[Etc/UTC]") public class V2beta1ExternalMetricSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_METRIC_NAME |
static String |
SERIALIZED_NAME_METRIC_SELECTOR |
static String |
SERIALIZED_NAME_TARGET_AVERAGE_VALUE |
static String |
SERIALIZED_NAME_TARGET_VALUE |
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()
Get metricSelector
|
Quantity |
getTargetAverageValue()
Quantity is a fixed-point representation of a number.
|
Quantity |
getTargetValue()
Quantity is a fixed-point representation of a number.
|
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 static final String SERIALIZED_NAME_METRIC_NAME
public static final String SERIALIZED_NAME_METRIC_SELECTOR
public static final String SERIALIZED_NAME_TARGET_AVERAGE_VALUE
public static final String SERIALIZED_NAME_TARGET_VALUE
public V2beta1ExternalMetricSource metricName(String metricName)
public String getMetricName()
public void setMetricName(String metricName)
public V2beta1ExternalMetricSource metricSelector(V1LabelSelector metricSelector)
@Nullable public V1LabelSelector getMetricSelector()
public void setMetricSelector(V1LabelSelector metricSelector)
public V2beta1ExternalMetricSource targetAverageValue(Quantity targetAverageValue)
@Nullable public Quantity getTargetAverageValue()
public void setTargetAverageValue(Quantity targetAverageValue)
public V2beta1ExternalMetricSource targetValue(Quantity targetValue)
@Nullable public Quantity getTargetValue()
public void setTargetValue(Quantity targetValue)
Copyright © 2022. All rights reserved.