Package com.cloudera.cdp.datahub.model
Class CreateGCPClusterRequest
java.lang.Object
com.cloudera.cdp.datahub.model.CreateGCPClusterRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:24.392-07:00")
public class CreateGCPClusterRequest
extends Object
Request object for create GCP cluster request.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for clusterDefinitionName.Getter for clusterExtension.Getter for clusterName.Getter for clusterTemplateName.Getter for customConfigurationsName.Getter for datahubDatabase.Getter for environmentName.getImage()
Getter for image.Getter for instanceGroups.Getter for javaVersion.Getter for requestTemplate.Getter for subnetName.getTags()
Getter for tags.int
hashCode()
void
setClusterDefinitionName
(String clusterDefinitionName) Setter for clusterDefinitionName.void
setClusterExtension
(ClusterExtension clusterExtension) Setter for clusterExtension.void
setClusterName
(String clusterName) Setter for clusterName.void
setClusterTemplateName
(String clusterTemplateName) Setter for clusterTemplateName.void
setCustomConfigurationsName
(String customConfigurationsName) Setter for customConfigurationsName.void
setDatahubDatabase
(String datahubDatabase) Setter for datahubDatabase.void
setEnvironmentName
(String environmentName) Setter for environmentName.void
setImage
(ImageRequest image) Setter for image.void
setInstanceGroups
(List<GCPInstanceGroupRequest> instanceGroups) Setter for instanceGroups.void
setJavaVersion
(Integer javaVersion) Setter for javaVersion.void
setRequestTemplate
(String requestTemplate) Setter for requestTemplate.void
setSubnetName
(String subnetName) Setter for subnetName.void
Setter for tags.toString()
-
Constructor Details
-
CreateGCPClusterRequest
public CreateGCPClusterRequest()
-
-
Method Details
-
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
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
Getter for clusterDefinitionName. The name or CRN of the cluster definition to use for cluster creation. -
setClusterDefinitionName
Setter for clusterDefinitionName. The name or CRN of the cluster definition to use for cluster creation. -
getEnvironmentName
Getter for environmentName. Name or CRN of the environment to use when creating the cluster. The environment must be a GCP environment. -
setEnvironmentName
Setter for environmentName. Name or CRN of the environment to use when creating the cluster. The environment must be a GCP environment. -
getClusterTemplateName
Getter for clusterTemplateName. Name or CRN of the cluster template to use for cluster creation. -
setClusterTemplateName
Setter for clusterTemplateName. Name or CRN of the cluster template to use for cluster creation. -
getCustomConfigurationsName
Getter for customConfigurationsName. The name of the custom configurations to use for cluster creation. -
setCustomConfigurationsName
Setter for customConfigurationsName. The name of the custom configurations to use for cluster creation. -
getInstanceGroups
Getter for instanceGroups. Instance group details. -
setInstanceGroups
Setter for instanceGroups. Instance group details. -
getSubnetName
Getter for subnetName. The subnet name. -
setSubnetName
Setter for subnetName. The subnet name. -
getImage
Getter for image. The image to be used for cluster creation. -
setImage
Setter for image. The image to be used for cluster creation. -
getTags
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
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
Getter for requestTemplate. JSON template to use for cluster creation. This is different from cluster template and would be removed in the future. -
setRequestTemplate
Setter for requestTemplate. JSON template to use for cluster creation. This is different from cluster template and would be removed in the future. -
getDatahubDatabase
Getter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA -
setDatahubDatabase
Setter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA -
getClusterExtension
Getter for clusterExtension. Cluster extensions for the given Data Hub cluster. -
setClusterExtension
Setter for clusterExtension. Cluster extensions for the given Data Hub cluster. -
getJavaVersion
Getter for javaVersion. Configure the major version of Java on the cluster. -
setJavaVersion
Setter for javaVersion. Configure the major version of Java on the cluster. -
equals
-
hashCode
public int hashCode() -
toString
-