Class 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 Detail

      • MachineAutoscalerSpec

        public MachineAutoscalerSpec()
        No args constructor for use in serialization
    • 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
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)