Class MachinePoolAutoscaling
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.MachinePoolAutoscaling
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachinePoolAutoscalingBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachinePoolAutoscaling extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolAutoscalingBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachinePoolAutoscaling details how the machine pool is to be auto-scaled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePoolAutoscaling()No args constructor for use in serializationMachinePoolAutoscaling(Integer maxReplicas, Integer minReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolAutoscalingBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMaxReplicas()MaxReplicas is the maximum number of replicas for the machine pool.IntegergetMinReplicas()MinReplicas is the minimum number of replicas for the machine pool.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaxReplicas(Integer maxReplicas)MaxReplicas is the maximum number of replicas for the machine pool.voidsetMinReplicas(Integer minReplicas)MinReplicas is the minimum number of replicas for the machine pool.MachinePoolAutoscalingBuildertoBuilder()
-
-
-
Method Detail
-
getMaxReplicas
public Integer getMaxReplicas()
MaxReplicas is the maximum number of replicas for the machine pool.
-
setMaxReplicas
public void setMaxReplicas(Integer maxReplicas)
MaxReplicas is the maximum number of replicas for the machine pool.
-
getMinReplicas
public Integer getMinReplicas()
MinReplicas is the minimum number of replicas for the machine pool.
-
setMinReplicas
public void setMinReplicas(Integer minReplicas)
MinReplicas is the minimum number of replicas for the machine pool.
-
edit
public MachinePoolAutoscalingBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolAutoscalingBuilder>
-
toBuilder
public MachinePoolAutoscalingBuilder toBuilder()
-
-