Class MachineAutoscalerSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.autoscaling.v1beta1.MachineAutoscalerSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineAutoscalerSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineAutoscalerSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineAutoscalerSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Specification of constraints of a scalable resource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineAutoscalerSpec()No args constructor for use in serializationMachineAutoscalerSpec(Integer maxReplicas, Integer minReplicas, MachineAutoscalerSpecScaleTargetRef scaleTargetRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineAutoscalerSpecBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMaxReplicas()MaxReplicas constrains the maximal number of replicas of a scalable resourceIntegergetMinReplicas()MinReplicas constrains the minimal number of replicas of a scalable resourceMachineAutoscalerSpecScaleTargetRefgetScaleTargetRef()Specification of constraints of a scalable resourcevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaxReplicas(Integer maxReplicas)MaxReplicas constrains the maximal number of replicas of a scalable resourcevoidsetMinReplicas(Integer minReplicas)MinReplicas constrains the minimal number of replicas of a scalable resourcevoidsetScaleTargetRef(MachineAutoscalerSpecScaleTargetRef scaleTargetRef)Specification of constraints of a scalable resourceMachineAutoscalerSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
MachineAutoscalerSpec
public MachineAutoscalerSpec()
No args constructor for use in serialization
-
MachineAutoscalerSpec
public MachineAutoscalerSpec(Integer maxReplicas, Integer minReplicas, MachineAutoscalerSpecScaleTargetRef scaleTargetRef)
-
-
Method Detail
-
getMaxReplicas
public Integer getMaxReplicas()
MaxReplicas constrains the maximal number of replicas of a scalable resource
-
setMaxReplicas
public void setMaxReplicas(Integer maxReplicas)
MaxReplicas constrains the maximal number of replicas of a scalable resource
-
getMinReplicas
public Integer getMinReplicas()
MinReplicas constrains the minimal number of replicas of a scalable resource
-
setMinReplicas
public void setMinReplicas(Integer minReplicas)
MinReplicas constrains the minimal number of replicas of a scalable resource
-
getScaleTargetRef
public MachineAutoscalerSpecScaleTargetRef getScaleTargetRef()
Specification of constraints of a scalable resource
-
setScaleTargetRef
public void setScaleTargetRef(MachineAutoscalerSpecScaleTargetRef scaleTargetRef)
Specification of constraints of a scalable resource
-
edit
public MachineAutoscalerSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineAutoscalerSpecBuilder>
-
toBuilder
public MachineAutoscalerSpecBuilder toBuilder()
-
-