@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-09-20T22:55:54.394Z[Etc/UTC]") public class V2beta1ContainerResourceMetricSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_CONTAINER |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_TARGET_AVERAGE_UTILIZATION |
static String |
SERIALIZED_NAME_TARGET_AVERAGE_VALUE |
Constructor and Description |
---|
V2beta1ContainerResourceMetricSource() |
Modifier and Type | Method and Description |
---|---|
V2beta1ContainerResourceMetricSource |
container(String container) |
boolean |
equals(Object o) |
String |
getContainer()
container is the name of the container in the pods of the scaling target
|
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() |
V2beta1ContainerResourceMetricSource |
name(String name) |
void |
setContainer(String container) |
void |
setName(String name) |
void |
setTargetAverageUtilization(Integer targetAverageUtilization) |
void |
setTargetAverageValue(Quantity targetAverageValue) |
V2beta1ContainerResourceMetricSource |
targetAverageUtilization(Integer targetAverageUtilization) |
V2beta1ContainerResourceMetricSource |
targetAverageValue(Quantity targetAverageValue) |
String |
toString() |
public static final String SERIALIZED_NAME_CONTAINER
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 V2beta1ContainerResourceMetricSource()
public V2beta1ContainerResourceMetricSource container(String container)
public String getContainer()
public void setContainer(String container)
public V2beta1ContainerResourceMetricSource name(String name)
public String getName()
public void setName(String name)
public V2beta1ContainerResourceMetricSource targetAverageUtilization(Integer targetAverageUtilization)
@Nullable public Integer getTargetAverageUtilization()
public void setTargetAverageUtilization(Integer targetAverageUtilization)
public V2beta1ContainerResourceMetricSource targetAverageValue(Quantity targetAverageValue)
@Nullable public Quantity getTargetAverageValue()
public void setTargetAverageValue(Quantity targetAverageValue)
Copyright © 2022. All rights reserved.