Class Autoscaling

java.lang.Object
com.cloudera.cdp.ml.model.Autoscaling

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:25.791-07:00") public class Autoscaling extends Object
Configuration for instance auto scaling.
  • Constructor Details

    • Autoscaling

      public Autoscaling()
  • Method Details

    • getMinInstances

      public Integer getMinInstances()
      Getter for minInstances. The minimum number of instance for auto scaling.
    • setMinInstances

      public void setMinInstances(Integer minInstances)
      Setter for minInstances. The minimum number of instance for auto scaling.
    • getMaxInstances

      public Integer getMaxInstances()
      Getter for maxInstances. The maximum number of instance for auto scaling.
    • setMaxInstances

      public void setMaxInstances(Integer maxInstances)
      Setter for maxInstances. The maximum number of instance for auto scaling.
    • getEnabled

      public Boolean getEnabled()
      Getter for enabled. The boolean flag to enable the auto scaling.
    • setEnabled

      public void setEnabled(Boolean enabled)
      Setter for enabled. The boolean flag to enable the auto scaling.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object