@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V2beta1ResourceMetricSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TARGET_AVERAGE_UTILIZATION |
static String |
SERIALIZED_NAME_TARGET_AVERAGE_VALUE |
Constructor and Description |
---|
V2beta1ResourceMetricSource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName()
name is the name of the resource in question.
|
Integer |
getTargetAverageUtilization()
targetAverageUtilization is the target value of the average of the resource metric across all
relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
Quantity |
getTargetAverageValue()
Quantity is a fixed-point representation of a number.
|
int |
hashCode() |
V2beta1ResourceMetricSource |
name(String name) |
void |
setName(String name) |
void |
setTargetAverageUtilization(Integer targetAverageUtilization) |
void |
setTargetAverageValue(Quantity targetAverageValue) |
V2beta1ResourceMetricSource |
targetAverageUtilization(Integer targetAverageUtilization) |
V2beta1ResourceMetricSource |
targetAverageValue(Quantity targetAverageValue) |
String |
toString() |
public static final String SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_TARGET_AVERAGE_UTILIZATION
public static final String SERIALIZED_NAME_TARGET_AVERAGE_VALUE
public V2beta1ResourceMetricSource name(String name)
public String getName()
public void setName(String name)
public V2beta1ResourceMetricSource targetAverageUtilization(Integer targetAverageUtilization)
@Nullable public Integer getTargetAverageUtilization()
public void setTargetAverageUtilization(Integer targetAverageUtilization)
public V2beta1ResourceMetricSource targetAverageValue(Quantity targetAverageValue)
@Nullable public Quantity getTargetAverageValue()
public void setTargetAverageValue(Quantity targetAverageValue)
Copyright © 2020. All rights reserved.