public class V2beta1ResourceMetricSource extends Object
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.
|
String |
getTargetAverageValue()
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.
|
int |
hashCode() |
V2beta1ResourceMetricSource |
name(String name) |
void |
setName(String name) |
void |
setTargetAverageUtilization(Integer targetAverageUtilization) |
void |
setTargetAverageValue(String targetAverageValue) |
V2beta1ResourceMetricSource |
targetAverageUtilization(Integer targetAverageUtilization) |
V2beta1ResourceMetricSource |
targetAverageValue(String targetAverageValue) |
String |
toString() |
public V2beta1ResourceMetricSource name(String name)
public String getName()
public void setName(String name)
public V2beta1ResourceMetricSource targetAverageUtilization(Integer targetAverageUtilization)
public Integer getTargetAverageUtilization()
public void setTargetAverageUtilization(Integer targetAverageUtilization)
public V2beta1ResourceMetricSource targetAverageValue(String targetAverageValue)
public String getTargetAverageValue()
public void setTargetAverageValue(String targetAverageValue)
Copyright © 2018. All rights reserved.