Class AutoScalePolicyRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2023-09-14T10:47:16.679-07:00")
    public class AutoScalePolicyRequest
    extends Object
    An individual AutoScale Policy
    • Constructor Detail

      • AutoScalePolicyRequest

        public AutoScalePolicyRequest()
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object