public class V2beta2MetricTarget extends Object
Constructor and Description |
---|
V2beta2MetricTarget() |
Modifier and Type | Method and Description |
---|---|
V2beta2MetricTarget |
averageUtilization(Integer averageUtilization) |
V2beta2MetricTarget |
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()
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
String |
getType()
type represents whether the metric type is Utilization, Value, or AverageValue
|
Quantity |
getValue()
value is the target value of the metric (as a quantity).
|
int |
hashCode() |
void |
setAverageUtilization(Integer averageUtilization) |
void |
setAverageValue(Quantity averageValue) |
void |
setType(String type) |
void |
setValue(Quantity value) |
String |
toString() |
V2beta2MetricTarget |
type(String type) |
V2beta2MetricTarget |
value(Quantity value) |
public V2beta2MetricTarget averageUtilization(Integer averageUtilization)
public Integer getAverageUtilization()
public void setAverageUtilization(Integer averageUtilization)
public V2beta2MetricTarget averageValue(Quantity averageValue)
public Quantity getAverageValue()
public void setAverageValue(Quantity averageValue)
public V2beta2MetricTarget type(String type)
public String getType()
public void setType(String type)
public V2beta2MetricTarget value(Quantity value)
public Quantity getValue()
public void setValue(Quantity value)
Copyright © 2018. All rights reserved.