public class V2alpha1ResourceMetricSource extends Object
Constructor and Description |
---|
V2alpha1ResourceMetricSource() |
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 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() |
V2alpha1ResourceMetricSource |
name(String name) |
void |
setName(String name) |
void |
setTargetAverageUtilization(Integer targetAverageUtilization) |
void |
setTargetAverageValue(String targetAverageValue) |
V2alpha1ResourceMetricSource |
targetAverageUtilization(Integer targetAverageUtilization) |
V2alpha1ResourceMetricSource |
targetAverageValue(String targetAverageValue) |
String |
toString() |
public V2alpha1ResourceMetricSource name(String name)
public String getName()
public void setName(String name)
public V2alpha1ResourceMetricSource targetAverageUtilization(Integer targetAverageUtilization)
public Integer getTargetAverageUtilization()
public void setTargetAverageUtilization(Integer targetAverageUtilization)
public V2alpha1ResourceMetricSource targetAverageValue(String targetAverageValue)
public String getTargetAverageValue()
public void setTargetAverageValue(String targetAverageValue)
Copyright © 2017. All rights reserved.