Class ScaleClusterRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class ScaleClusterRequest extends Object
Request object for scale cluster request.
  • Constructor Details

    • ScaleClusterRequest

      public ScaleClusterRequest()
  • Method Details

    • getClusterName

      public String getClusterName()
      Getter for clusterName. The name or CRN of the cluster to be scaled.
    • setClusterName

      public void setClusterName(String clusterName)
      Setter for clusterName. The name or CRN of the cluster to be scaled.
    • getInstanceGroupName

      public String getInstanceGroupName()
      Getter for instanceGroupName. The name of the instance group which needs to be scaled.
    • setInstanceGroupName

      public void setInstanceGroupName(String instanceGroupName)
      Setter for instanceGroupName. The name of the instance group which needs to be scaled.
    • getInstanceGroupDesiredCount

      public Integer getInstanceGroupDesiredCount()
      Getter for instanceGroupDesiredCount. The desired number of instances in the instance group.
    • setInstanceGroupDesiredCount

      public void setInstanceGroupDesiredCount(Integer instanceGroupDesiredCount)
      Setter for instanceGroupDesiredCount. The desired number of instances in the instance group.
    • 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