Class MetricValueStatus
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.autoscaling.v2.MetricValueStatus
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class MetricValueStatus extends java.lang.Object implements com.marcnuri.yakc.model.Model
MetricValueStatus holds the current value for a metric
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricValueStatus.Builder
-
Constructor Summary
Constructors Constructor Description MetricValueStatus()
MetricValueStatus(java.lang.Number averageUtilization, java.lang.String averageValue, java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricValueStatus.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Number
getAverageUtilization()
currentAverageUtilization is the current 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.java.lang.String
getAverageValue()
java.lang.String
getValue()
int
hashCode()
void
setAverageUtilization(java.lang.Number averageUtilization)
currentAverageUtilization is the current 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.void
setAverageValue(java.lang.String averageValue)
void
setValue(java.lang.String value)
MetricValueStatus.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static MetricValueStatus.Builder builder()
-
toBuilder
public MetricValueStatus.Builder toBuilder()
-
getAverageUtilization
public java.lang.Number getAverageUtilization()
currentAverageUtilization is the current 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.
-
getAverageValue
public java.lang.String getAverageValue()
-
getValue
public java.lang.String getValue()
-
setAverageUtilization
public void setAverageUtilization(java.lang.Number averageUtilization)
currentAverageUtilization is the current 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.
-
setAverageValue
public void setAverageValue(java.lang.String averageValue)
-
setValue
public void setValue(java.lang.String value)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-