Package com.cloudera.cdp.datahub.model
Class ScaleClusterRequest
java.lang.Object
com.cloudera.cdp.datahub.model.ScaleClusterRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2025-07-30T10:22:39.671-07:00")
public class ScaleClusterRequest
extends Object
Request object for scale cluster request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for clusterName.Getter for instanceGroupDesiredCount.Getter for instanceGroupName.Getter for preferredSubnetIds.Getter for preferredZones.int
hashCode()
void
setClusterName
(String clusterName) Setter for clusterName.void
setInstanceGroupDesiredCount
(Integer instanceGroupDesiredCount) Setter for instanceGroupDesiredCount.void
setInstanceGroupName
(String instanceGroupName) Setter for instanceGroupName.void
setPreferredSubnetIds
(List<String> preferredSubnetIds) Setter for preferredSubnetIds.void
setPreferredZones
(List<String> preferredZones) Setter for preferredZones.toString()
-
Constructor Details
-
ScaleClusterRequest
public ScaleClusterRequest()
-
-
Method Details
-
getClusterName
Getter for clusterName. The name or CRN of the cluster to be scaled. -
setClusterName
Setter for clusterName. The name or CRN of the cluster to be scaled. -
getInstanceGroupName
Getter for instanceGroupName. The name of the instance group which needs to be scaled. -
setInstanceGroupName
Setter for instanceGroupName. The name of the instance group which needs to be scaled. -
getInstanceGroupDesiredCount
Getter for instanceGroupDesiredCount. The desired number of instances in the instance group. -
setInstanceGroupDesiredCount
Setter for instanceGroupDesiredCount. The desired number of instances in the instance group. -
getPreferredSubnetIds
Getter for preferredSubnetIds. The preferred subnet IDs for the scaling cluster (only for AWS). -
setPreferredSubnetIds
Setter for preferredSubnetIds. The preferred subnet IDs for the scaling cluster (only for AWS). -
getPreferredZones
Getter for preferredZones. The preferred zones for the scaling cluster (only for Azure and Google Cloud). -
setPreferredZones
Setter for preferredZones. The preferred zones for the scaling cluster (only for Azure and Google Cloud). -
equals
-
hashCode
public int hashCode() -
toString
-