Class ResourceMetricSourceFluentImpl<A extends ResourceMetricSourceFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.ResourceMetricSourceFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>,io.fabric8.kubernetes.api.builder.Visitable<A>,ResourceMetricSourceFluent<A>
- Direct Known Subclasses:
MetricSpecFluentImpl.ResourceNestedImpl,ResourceMetricSourceBuilder
public class ResourceMetricSourceFluentImpl<A extends ResourceMetricSourceFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements ResourceMetricSourceFluent<A>
-
-
Constructor Summary
Constructors Constructor Description ResourceMetricSourceFluentImpl()ResourceMetricSourceFluentImpl(ResourceMetricSource instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()IntegergetTargetAverageUtilization()io.fabric8.kubernetes.api.model.QuantitygetTargetAverageValue()inthashCode()BooleanhasName()BooleanhasTargetAverageUtilization()BooleanhasTargetAverageValue()AwithName(String name)AwithNewName(String arg1)AwithNewName(StringBuffer arg1)AwithNewName(StringBuilder arg1)AwithNewTargetAverageValue(String amount)AwithNewTargetAverageValue(String amount, String format)AwithTargetAverageUtilization(Integer targetAverageUtilization)AwithTargetAverageValue(io.fabric8.kubernetes.api.model.Quantity targetAverageValue)
-
-
-
Constructor Detail
-
ResourceMetricSourceFluentImpl
public ResourceMetricSourceFluentImpl()
-
ResourceMetricSourceFluentImpl
public ResourceMetricSourceFluentImpl(ResourceMetricSource instance)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withNamein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasNamein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewNamein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewNamein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewNamein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
getTargetAverageUtilization
public Integer getTargetAverageUtilization()
- Specified by:
getTargetAverageUtilizationin interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withTargetAverageUtilization
public A withTargetAverageUtilization(Integer targetAverageUtilization)
- Specified by:
withTargetAverageUtilizationin interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
hasTargetAverageUtilization
public Boolean hasTargetAverageUtilization()
- Specified by:
hasTargetAverageUtilizationin interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
getTargetAverageValue
public io.fabric8.kubernetes.api.model.Quantity getTargetAverageValue()
- Specified by:
getTargetAverageValuein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withTargetAverageValue
public A withTargetAverageValue(io.fabric8.kubernetes.api.model.Quantity targetAverageValue)
- Specified by:
withTargetAverageValuein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
hasTargetAverageValue
public Boolean hasTargetAverageValue()
- Specified by:
hasTargetAverageValuein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withNewTargetAverageValue
public A withNewTargetAverageValue(String amount, String format)
- Specified by:
withNewTargetAverageValuein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
withNewTargetAverageValue
public A withNewTargetAverageValue(String amount)
- Specified by:
withNewTargetAverageValuein interfaceResourceMetricSourceFluent<A extends ResourceMetricSourceFluent<A>>
-
-