Class AutoScalePolicyRequest

java.lang.Object
com.cloudera.cdp.datahub.model.AutoScalePolicyRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class AutoScalePolicyRequest extends Object
An individual AutoScale Policy
  • Constructor Details

    • AutoScalePolicyRequest

      public AutoScalePolicyRequest()
  • Method Details

    • getHostGroups

      public String getHostGroups()
      Getter for hostGroups. A single hostgroup, or a comma separated list of hostGroups to which the rules apply
    • setHostGroups

      public void setHostGroups(String hostGroups)
      Setter for hostGroups. A single hostgroup, or a comma separated list of hostGroups to which the rules apply
    • getScheduleBasedPolicy

      public AutoScaleScheduleRequest getScheduleBasedPolicy()
      Getter for scheduleBasedPolicy. Scheduled based policy
    • setScheduleBasedPolicy

      public void setScheduleBasedPolicy(AutoScaleScheduleRequest scheduleBasedPolicy)
      Setter for scheduleBasedPolicy. Scheduled based policy
    • getLoadBasedPolicy

      public AutoScaleLoadRequest getLoadBasedPolicy()
      Getter for loadBasedPolicy. Load based policy
    • setLoadBasedPolicy

      public void setLoadBasedPolicy(AutoScaleLoadRequest loadBasedPolicy)
      Setter for loadBasedPolicy. Load based policy
    • 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