Class CreateGCPClusterRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-04-23T14:14:32.339-07:00") public class CreateGCPClusterRequest extends Object
Request object for create GCP cluster request.
  • Constructor Details Link icon

    • CreateGCPClusterRequest Link icon

      public CreateGCPClusterRequest()
  • Method Details Link icon

    • getClusterName Link icon

      public String getClusterName()
      Getter for clusterName. The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
    • setClusterName Link icon

      public void setClusterName(String clusterName)
      Setter for clusterName. The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
    • getClusterDefinitionName Link icon

      public String getClusterDefinitionName()
      Getter for clusterDefinitionName. The name or CRN of the cluster definition to use for cluster creation.
    • setClusterDefinitionName Link icon

      public void setClusterDefinitionName(String clusterDefinitionName)
      Setter for clusterDefinitionName. The name or CRN of the cluster definition to use for cluster creation.
    • getEnvironmentName Link icon

      public String getEnvironmentName()
      Getter for environmentName. Name or CRN of the environment to use when creating the cluster. The environment must be a GCP environment.
    • setEnvironmentName Link icon

      public void setEnvironmentName(String environmentName)
      Setter for environmentName. Name or CRN of the environment to use when creating the cluster. The environment must be a GCP environment.
    • getClusterTemplateName Link icon

      public String getClusterTemplateName()
      Getter for clusterTemplateName. Name or CRN of the cluster template to use for cluster creation.
    • setClusterTemplateName Link icon

      public void setClusterTemplateName(String clusterTemplateName)
      Setter for clusterTemplateName. Name or CRN of the cluster template to use for cluster creation.
    • getCustomConfigurationsName Link icon

      public String getCustomConfigurationsName()
      Getter for customConfigurationsName. The name of the custom configurations to use for cluster creation.
    • setCustomConfigurationsName Link icon

      public void setCustomConfigurationsName(String customConfigurationsName)
      Setter for customConfigurationsName. The name of the custom configurations to use for cluster creation.
    • getInstanceGroups Link icon

      public List<GCPInstanceGroupRequest> getInstanceGroups()
      Getter for instanceGroups. Instance group details.
    • setInstanceGroups Link icon

      public void setInstanceGroups(List<GCPInstanceGroupRequest> instanceGroups)
      Setter for instanceGroups. Instance group details.
    • getSubnetName Link icon

      public String getSubnetName()
      Getter for subnetName. The subnet name.
    • setSubnetName Link icon

      public void setSubnetName(String subnetName)
      Setter for subnetName. The subnet name.
    • getImage Link icon

      public ImageRequest getImage()
      Getter for image. The image to be used for cluster creation.
    • setImage Link icon

      public void setImage(ImageRequest image)
      Setter for image. The image to be used for cluster creation.
    • getTags Link icon

      Getter for tags. Tags that can be attached to GCP Data Hub resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.
    • setTags Link icon

      public void setTags(List<GCPDatahubResourceTagRequest> tags)
      Setter for tags. Tags that can be attached to GCP Data Hub resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.
    • getRequestTemplate Link icon

      public String getRequestTemplate()
      Getter for requestTemplate. JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
    • setRequestTemplate Link icon

      public void setRequestTemplate(String requestTemplate)
      Setter for requestTemplate. JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
    • getDatahubDatabase Link icon

      public String getDatahubDatabase()
      Getter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA
    • setDatahubDatabase Link icon

      public void setDatahubDatabase(String datahubDatabase)
      Setter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA
    • getClusterExtension Link icon

      public ClusterExtension getClusterExtension()
      Getter for clusterExtension. Cluster extensions for the given Data Hub cluster.
    • setClusterExtension Link icon

      public void setClusterExtension(ClusterExtension clusterExtension)
      Setter for clusterExtension. Cluster extensions for the given Data Hub cluster.
    • getJavaVersion Link icon

      public Integer getJavaVersion()
      Getter for javaVersion. Configure the major version of Java on the cluster.
    • setJavaVersion Link icon

      public void setJavaVersion(Integer javaVersion)
      Setter for javaVersion. Configure the major version of Java on the cluster.
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object