@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-08T04:59:41.589Z[Etc/UTC]") public class V2MetricTarget extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_AVERAGE_UTILIZATION |
static String |
SERIALIZED_NAME_AVERAGE_VALUE |
static String |
SERIALIZED_NAME_TYPE |
static String |
SERIALIZED_NAME_VALUE |
Constructor and Description |
---|
V2MetricTarget() |
Modifier and Type | Method and Description |
---|---|
V2MetricTarget |
averageUtilization(Integer averageUtilization) |
V2MetricTarget |
averageValue(Quantity averageValue) |
boolean |
equals(Object o) |
Integer |
getAverageUtilization()
averageUtilization 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 |
getAverageValue()
Quantity is a fixed-point representation of a number.
|
String |
getType()
type represents whether the metric type is Utilization, Value, or AverageValue
|
Quantity |
getValue()
Quantity is a fixed-point representation of a number.
|
int |
hashCode() |
void |
setAverageUtilization(Integer averageUtilization) |
void |
setAverageValue(Quantity averageValue) |
void |
setType(String type) |
void |
setValue(Quantity value) |
String |
toString() |
V2MetricTarget |
type(String type) |
V2MetricTarget |
value(Quantity value) |
public static final String SERIALIZED_NAME_AVERAGE_UTILIZATION
public static final String SERIALIZED_NAME_AVERAGE_VALUE
public static final String SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_VALUE
public V2MetricTarget averageUtilization(Integer averageUtilization)
@Nullable public Integer getAverageUtilization()
public void setAverageUtilization(Integer averageUtilization)
public V2MetricTarget averageValue(Quantity averageValue)
@Nullable public Quantity getAverageValue()
public void setAverageValue(Quantity averageValue)
public V2MetricTarget type(String type)
public String getType()
public void setType(String type)
public V2MetricTarget value(Quantity value)
@Nullable public Quantity getValue()
public void setValue(Quantity value)
Copyright © 2022. All rights reserved.