public class V2beta1ResourceMetricSourceFluentImpl<A extends V2beta1ResourceMetricSourceFluent<A>> extends BaseFluent<A> implements V2beta1ResourceMetricSourceFluent<A>
_visitables, VISIT
Constructor and Description |
---|
V2beta1ResourceMetricSourceFluentImpl() |
V2beta1ResourceMetricSourceFluentImpl(io.kubernetes.client.openapi.models.V2beta1ResourceMetricSource instance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getName() |
Integer |
getTargetAverageUtilization() |
io.kubernetes.client.custom.Quantity |
getTargetAverageValue() |
int |
hashCode() |
Boolean |
hasName() |
Boolean |
hasTargetAverageUtilization() |
Boolean |
hasTargetAverageValue() |
A |
withName(String name) |
A |
withNewName(String original)
Deprecated.
|
A |
withNewTargetAverageValue(String value) |
A |
withTargetAverageUtilization(Integer targetAverageUtilization) |
A |
withTargetAverageValue(io.kubernetes.client.custom.Quantity targetAverageValue) |
accept, accept, acceptInternal, aggregate, aggregate, build, build, builderOf, canVisit, hasCompatibleVisitMethod
public V2beta1ResourceMetricSourceFluentImpl()
public V2beta1ResourceMetricSourceFluentImpl(io.kubernetes.client.openapi.models.V2beta1ResourceMetricSource instance)
public String getName()
getName
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public A withName(String name)
withName
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public Boolean hasName()
hasName
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
@Deprecated public A withNewName(String original)
withNewName
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public Integer getTargetAverageUtilization()
getTargetAverageUtilization
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public A withTargetAverageUtilization(Integer targetAverageUtilization)
withTargetAverageUtilization
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public Boolean hasTargetAverageUtilization()
hasTargetAverageUtilization
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public io.kubernetes.client.custom.Quantity getTargetAverageValue()
getTargetAverageValue
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public A withTargetAverageValue(io.kubernetes.client.custom.Quantity targetAverageValue)
withTargetAverageValue
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public Boolean hasTargetAverageValue()
hasTargetAverageValue
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
public A withNewTargetAverageValue(String value)
withNewTargetAverageValue
in interface V2beta1ResourceMetricSourceFluent<A extends V2beta1ResourceMetricSourceFluent<A>>
Copyright © 2021. All rights reserved.