Class AutoScalePolicyResponse

java.lang.Object
com.cloudera.cdp.client.BaseResponse
com.cloudera.cdp.client.CdpResponse
com.cloudera.cdp.datahub.model.AutoScalePolicyResponse

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

    • AutoScalePolicyResponse

      public AutoScalePolicyResponse()
  • 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 AutoScaleScheduleResponse getScheduleBasedPolicy()
      Getter for scheduleBasedPolicy. Scheduled based policy
    • setScheduleBasedPolicy

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

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

      public void setLoadBasedPolicy(AutoScaleLoadResponse 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