Class ScaleClusterRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:40.606-07:00")
    public class ScaleClusterRequest
    extends Object
    Request object for scale cluster request.
    • Constructor Detail

      • ScaleClusterRequest

        public ScaleClusterRequest()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object