Package com.cloudera.cdp.datahub.model
Class CreateAzureClusterRequest
- java.lang.Object
-
- com.cloudera.cdp.datahub.model.CreateAzureClusterRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-03-13T13:08:44.965-07:00") public class CreateAzureClusterRequest extends Object
Request object for create Azure cluster request.
-
-
Constructor Summary
Constructors Constructor Description CreateAzureClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getClusterDefinitionName()
Getter for clusterDefinitionName.ClusterExtension
getClusterExtension()
Getter for clusterExtension.String
getClusterName()
Getter for clusterName.String
getClusterTemplateName()
Getter for clusterTemplateName.String
getCustomConfigurationsName()
Getter for customConfigurationsName.String
getDatabaseType()
Getter for databaseType.String
getDatahubDatabase()
Getter for datahubDatabase.Boolean
getEnableLoadBalancer()
Getter for enableLoadBalancer.String
getEnvironmentName()
Getter for environmentName.String
getFlexibleServerDelegatedSubnetId()
Getter for flexibleServerDelegatedSubnetId.ImageRequest
getImage()
Getter for image.List<AzureInstanceGroupRequest>
getInstanceGroups()
Getter for instanceGroups.Integer
getJavaVersion()
Getter for javaVersion.String
getLoadBalancerSku()
Getter for loadBalancerSku.Boolean
getMultiAz()
Getter for multiAz.String
getRequestTemplate()
Getter for requestTemplate.String
getSubnetId()
Getter for subnetId.List<DatahubResourceTagRequest>
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
setDatabaseType(String databaseType)
Setter for databaseType.void
setDatahubDatabase(String datahubDatabase)
Setter for datahubDatabase.void
setEnableLoadBalancer(Boolean enableLoadBalancer)
Setter for enableLoadBalancer.void
setEnvironmentName(String environmentName)
Setter for environmentName.void
setFlexibleServerDelegatedSubnetId(String flexibleServerDelegatedSubnetId)
Setter for flexibleServerDelegatedSubnetId.void
setImage(ImageRequest image)
Setter for image.void
setInstanceGroups(List<AzureInstanceGroupRequest> instanceGroups)
Setter for instanceGroups.void
setJavaVersion(Integer javaVersion)
Setter for javaVersion.void
setLoadBalancerSku(String loadBalancerSku)
Setter for loadBalancerSku.void
setMultiAz(Boolean multiAz)
Setter for multiAz.void
setRequestTemplate(String requestTemplate)
Setter for requestTemplate.void
setSubnetId(String subnetId)
Setter for subnetId.void
setTags(List<DatahubResourceTagRequest> tags)
Setter for tags.String
toString()
-
-
-
Method Detail
-
getClusterName
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
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
public String getClusterDefinitionName()
Getter for clusterDefinitionName. The name or CRN of the cluster definition to use for cluster creation.
-
setClusterDefinitionName
public void setClusterDefinitionName(String clusterDefinitionName)
Setter for clusterDefinitionName. The name or CRN of the cluster definition to use for cluster creation.
-
getEnvironmentName
public String getEnvironmentName()
Getter for environmentName. Name or CRN of the environment to use when creating the cluster. The environment must be an Azure environment.
-
setEnvironmentName
public void setEnvironmentName(String environmentName)
Setter for environmentName. Name or CRN of the environment to use when creating the cluster. The environment must be an Azure environment.
-
getClusterTemplateName
public String getClusterTemplateName()
Getter for clusterTemplateName. Name or CRN of the cluster template to use for cluster creation.
-
setClusterTemplateName
public void setClusterTemplateName(String clusterTemplateName)
Setter for clusterTemplateName. Name or CRN of the cluster template to use for cluster creation.
-
getCustomConfigurationsName
public String getCustomConfigurationsName()
Getter for customConfigurationsName. The name of the custom configurations to use for cluster creation.
-
setCustomConfigurationsName
public void setCustomConfigurationsName(String customConfigurationsName)
Setter for customConfigurationsName. The name of the custom configurations to use for cluster creation.
-
getInstanceGroups
public List<AzureInstanceGroupRequest> getInstanceGroups()
Getter for instanceGroups. Instance group details.
-
setInstanceGroups
public void setInstanceGroups(List<AzureInstanceGroupRequest> instanceGroups)
Setter for instanceGroups. Instance group details.
-
getSubnetId
public String getSubnetId()
Getter for subnetId. The subnet ID.
-
setSubnetId
public void setSubnetId(String subnetId)
Setter for subnetId. The subnet ID.
-
getImage
public ImageRequest getImage()
Getter for image. The image to be used for cluster creation.
-
setImage
public void setImage(ImageRequest image)
Setter for image. The image to be used for cluster creation.
-
getTags
public List<DatahubResourceTagRequest> getTags()
Getter for tags. Tags to be added to Datahub related resources.
-
setTags
public void setTags(List<DatahubResourceTagRequest> tags)
Setter for tags. Tags to be added to Datahub related resources.
-
getRequestTemplate
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
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
public String getDatahubDatabase()
Getter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA
-
setDatahubDatabase
public void setDatahubDatabase(String datahubDatabase)
Setter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA
-
getMultiAz
public Boolean getMultiAz()
Getter for multiAz. Flag that toggles the multi availability zone feature for the given datahub cluster when unsure what subnet IDs can be used. When true, the subnet IDs suggested by the environment will be used.
-
setMultiAz
public void setMultiAz(Boolean multiAz)
Setter for multiAz. Flag that toggles the multi availability zone feature for the given datahub cluster when unsure what subnet IDs can be used. When true, the subnet IDs suggested by the environment will be used.
-
getLoadBalancerSku
public String getLoadBalancerSku()
Getter for loadBalancerSku. The SKU for the datahub load balancer. Allowed values are \"BASIC\", \"STANDARD\", or \"NONE\".
-
setLoadBalancerSku
public void setLoadBalancerSku(String loadBalancerSku)
Setter for loadBalancerSku. The SKU for the datahub load balancer. Allowed values are \"BASIC\", \"STANDARD\", or \"NONE\".
-
getClusterExtension
public ClusterExtension getClusterExtension()
Getter for clusterExtension. Cluster extensions for the given Data Hub cluster.
-
setClusterExtension
public void setClusterExtension(ClusterExtension clusterExtension)
Setter for clusterExtension. Cluster extensions for the given Data Hub cluster.
-
getEnableLoadBalancer
public Boolean getEnableLoadBalancer()
Getter for enableLoadBalancer. Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
-
setEnableLoadBalancer
public void setEnableLoadBalancer(Boolean enableLoadBalancer)
Setter for enableLoadBalancer. Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
-
getDatabaseType
public String getDatabaseType()
Getter for databaseType. The type of the azure database. FLEXIBLE_SERVER is the next generation managed PostgreSQL service in Azure that provides maximum flexibility over your database, built-in cost-optimizations. SINGLE_SERVER is a fully managed database service with minimal requirements for customizations of the database.
-
setDatabaseType
public void setDatabaseType(String databaseType)
Setter for databaseType. The type of the azure database. FLEXIBLE_SERVER is the next generation managed PostgreSQL service in Azure that provides maximum flexibility over your database, built-in cost-optimizations. SINGLE_SERVER is a fully managed database service with minimal requirements for customizations of the database.
-
getFlexibleServerDelegatedSubnetId
public String getFlexibleServerDelegatedSubnetId()
Getter for flexibleServerDelegatedSubnetId. Allows you to specify the subnet ID for the subnet within which you want to configure your Azure Flexible Server.
-
setFlexibleServerDelegatedSubnetId
public void setFlexibleServerDelegatedSubnetId(String flexibleServerDelegatedSubnetId)
Setter for flexibleServerDelegatedSubnetId. Allows you to specify the subnet ID for the subnet within which you want to configure your Azure Flexible Server.
-
getJavaVersion
public Integer getJavaVersion()
Getter for javaVersion. Configure the major version of Java on the cluster.
-
setJavaVersion
public void setJavaVersion(Integer javaVersion)
Setter for javaVersion. Configure the major version of Java on the cluster.
-
-