Package com.cloudera.cdp.dw.model
Class CreateClusterRequest
- java.lang.Object
-
- com.cloudera.cdp.dw.model.CreateClusterRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-12-01T13:59:39.820-08:00") public class CreateClusterRequest extends Object
Request object for the createCluster method.
-
-
Constructor Summary
Constructors Constructor Description CreateClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AwsActivationOptions
getAwsOptions()
Getter for awsOptions.AzureActivationOptions
getAzureOptions()
Getter for azureOptions.CustomRegistryOptions
getCustomRegistryOptions()
Getter for customRegistryOptions.String
getCustomSubdomain()
Getter for customSubdomain.Integer
getDatabaseBackupRetentionPeriod()
Getter for databaseBackupRetentionPeriod.Boolean
getEnableStorageRoles()
Getter for enableStorageRoles.String
getEnvironmentCrn()
Getter for environmentCrn.PrivateCloudActivationOptions
getPrivateCloudOptions()
Getter for privateCloudOptions.Integer
getReservedComputeNodes()
Getter for reservedComputeNodes.Integer
getReservedSharedServicesNodes()
Getter for reservedSharedServicesNodes.String
getResourcePool()
Getter for resourcePool.Boolean
getUseOverlayNetwork()
Getter for useOverlayNetwork.Boolean
getUsePrivateLoadBalancer()
Getter for usePrivateLoadBalancer.Boolean
getUsePublicWorkerNode()
Getter for usePublicWorkerNode.String
getWhitelistIpCIDRs()
Getter for whitelistIpCIDRs.List<String>
getWhitelistK8sClusterAccessIpCIDRs()
Getter for whitelistK8sClusterAccessIpCIDRs.List<String>
getWhitelistWorkloadAccessIpCIDRs()
Getter for whitelistWorkloadAccessIpCIDRs.int
hashCode()
void
setAwsOptions(AwsActivationOptions awsOptions)
Setter for awsOptions.void
setAzureOptions(AzureActivationOptions azureOptions)
Setter for azureOptions.void
setCustomRegistryOptions(CustomRegistryOptions customRegistryOptions)
Setter for customRegistryOptions.void
setCustomSubdomain(String customSubdomain)
Setter for customSubdomain.void
setDatabaseBackupRetentionPeriod(Integer databaseBackupRetentionPeriod)
Setter for databaseBackupRetentionPeriod.void
setEnableStorageRoles(Boolean enableStorageRoles)
Setter for enableStorageRoles.void
setEnvironmentCrn(String environmentCrn)
Setter for environmentCrn.void
setPrivateCloudOptions(PrivateCloudActivationOptions privateCloudOptions)
Setter for privateCloudOptions.void
setReservedComputeNodes(Integer reservedComputeNodes)
Setter for reservedComputeNodes.void
setReservedSharedServicesNodes(Integer reservedSharedServicesNodes)
Setter for reservedSharedServicesNodes.void
setResourcePool(String resourcePool)
Setter for resourcePool.void
setUseOverlayNetwork(Boolean useOverlayNetwork)
Setter for useOverlayNetwork.void
setUsePrivateLoadBalancer(Boolean usePrivateLoadBalancer)
Setter for usePrivateLoadBalancer.void
setUsePublicWorkerNode(Boolean usePublicWorkerNode)
Setter for usePublicWorkerNode.void
setWhitelistIpCIDRs(String whitelistIpCIDRs)
Setter for whitelistIpCIDRs.void
setWhitelistK8sClusterAccessIpCIDRs(List<String> whitelistK8sClusterAccessIpCIDRs)
Setter for whitelistK8sClusterAccessIpCIDRs.void
setWhitelistWorkloadAccessIpCIDRs(List<String> whitelistWorkloadAccessIpCIDRs)
Setter for whitelistWorkloadAccessIpCIDRs.String
toString()
-
-
-
Method Detail
-
getEnvironmentCrn
public String getEnvironmentCrn()
Getter for environmentCrn. The CRN of the environment for the cluster to create.
-
setEnvironmentCrn
public void setEnvironmentCrn(String environmentCrn)
Setter for environmentCrn. The CRN of the environment for the cluster to create.
-
getUseOverlayNetwork
public Boolean getUseOverlayNetwork()
Getter for useOverlayNetwork. Using an overlay network will save IP addresses in the VPC by using a private IP address range for Pods in the cluster.
-
setUseOverlayNetwork
public void setUseOverlayNetwork(Boolean useOverlayNetwork)
Setter for useOverlayNetwork. Using an overlay network will save IP addresses in the VPC by using a private IP address range for Pods in the cluster.
-
getDatabaseBackupRetentionPeriod
public Integer getDatabaseBackupRetentionPeriod()
Getter for databaseBackupRetentionPeriod. PostgreSQL server backup retention days.
-
setDatabaseBackupRetentionPeriod
public void setDatabaseBackupRetentionPeriod(Integer databaseBackupRetentionPeriod)
Setter for databaseBackupRetentionPeriod. PostgreSQL server backup retention days.
-
getWhitelistIpCIDRs
public String getWhitelistIpCIDRs()
Getter for whitelistIpCIDRs. This field is still available for Private Cloud deployments, however it'll be removed for Public Cloud in the next DWX release. Please use the use 'whitelistK8sClusterAccessIpCIDRs' in combination of 'whitelistWorkloadAccessIpCIDRs' on Public Cloud. Comma separated list of IP address CIDRs to whitelist.
-
setWhitelistIpCIDRs
public void setWhitelistIpCIDRs(String whitelistIpCIDRs)
Setter for whitelistIpCIDRs. This field is still available for Private Cloud deployments, however it'll be removed for Public Cloud in the next DWX release. Please use the use 'whitelistK8sClusterAccessIpCIDRs' in combination of 'whitelistWorkloadAccessIpCIDRs' on Public Cloud. Comma separated list of IP address CIDRs to whitelist.
-
getWhitelistK8sClusterAccessIpCIDRs
public List<String> getWhitelistK8sClusterAccessIpCIDRs()
Getter for whitelistK8sClusterAccessIpCIDRs. List of IP address CIDRs to whitelist for kubernetes cluster access.
-
setWhitelistK8sClusterAccessIpCIDRs
public void setWhitelistK8sClusterAccessIpCIDRs(List<String> whitelistK8sClusterAccessIpCIDRs)
Setter for whitelistK8sClusterAccessIpCIDRs. List of IP address CIDRs to whitelist for kubernetes cluster access.
-
getWhitelistWorkloadAccessIpCIDRs
public List<String> getWhitelistWorkloadAccessIpCIDRs()
Getter for whitelistWorkloadAccessIpCIDRs. List of IP address CIDRs to whitelist for workload access.
-
setWhitelistWorkloadAccessIpCIDRs
public void setWhitelistWorkloadAccessIpCIDRs(List<String> whitelistWorkloadAccessIpCIDRs)
Setter for whitelistWorkloadAccessIpCIDRs. List of IP address CIDRs to whitelist for workload access.
-
getUsePrivateLoadBalancer
public Boolean getUsePrivateLoadBalancer()
Getter for usePrivateLoadBalancer. Set up load balancer with private IP address. In AWS it is created in private subnets. In Azure an internal load balancer gets created. Make sure there is connectivity between your client network and the network (VPC/VNet) where CDW environment is deployed.
-
setUsePrivateLoadBalancer
public void setUsePrivateLoadBalancer(Boolean usePrivateLoadBalancer)
Setter for usePrivateLoadBalancer. Set up load balancer with private IP address. In AWS it is created in private subnets. In Azure an internal load balancer gets created. Make sure there is connectivity between your client network and the network (VPC/VNet) where CDW environment is deployed.
-
getUsePublicWorkerNode
public Boolean getUsePublicWorkerNode()
Getter for usePublicWorkerNode. Set up worker node with public IP address. In AWS it is created in public subnets.
-
setUsePublicWorkerNode
public void setUsePublicWorkerNode(Boolean usePublicWorkerNode)
Setter for usePublicWorkerNode. Set up worker node with public IP address. In AWS it is created in public subnets.
-
getEnableStorageRoles
public Boolean getEnableStorageRoles()
Getter for enableStorageRoles. Enable Storage Roles
-
setEnableStorageRoles
public void setEnableStorageRoles(Boolean enableStorageRoles)
Setter for enableStorageRoles. Enable Storage Roles
-
getReservedComputeNodes
public Integer getReservedComputeNodes()
Getter for reservedComputeNodes. Set additional number of nodes to reserve for executors and coordinators to use during autoscaling. Adding more reserved nodes increases your cloud costs.
-
setReservedComputeNodes
public void setReservedComputeNodes(Integer reservedComputeNodes)
Setter for reservedComputeNodes. Set additional number of nodes to reserve for executors and coordinators to use during autoscaling. Adding more reserved nodes increases your cloud costs.
-
getReservedSharedServicesNodes
public Integer getReservedSharedServicesNodes()
Getter for reservedSharedServicesNodes. Set additional number of nodes to reserve for other services in the cluster. Adding more reserved nodes increases your cloud costs.
-
setReservedSharedServicesNodes
public void setReservedSharedServicesNodes(Integer reservedSharedServicesNodes)
Setter for reservedSharedServicesNodes. Set additional number of nodes to reserve for other services in the cluster. Adding more reserved nodes increases your cloud costs.
-
getCustomRegistryOptions
public CustomRegistryOptions getCustomRegistryOptions()
Getter for customRegistryOptions. Options for custom ACR/ECR/Docker registries.
-
setCustomRegistryOptions
public void setCustomRegistryOptions(CustomRegistryOptions customRegistryOptions)
Setter for customRegistryOptions. Options for custom ACR/ECR/Docker registries.
-
getAwsOptions
public AwsActivationOptions getAwsOptions()
Getter for awsOptions. Options for activating an AWS environment.
-
setAwsOptions
public void setAwsOptions(AwsActivationOptions awsOptions)
Setter for awsOptions. Options for activating an AWS environment.
-
getAzureOptions
public AzureActivationOptions getAzureOptions()
Getter for azureOptions. Options for activating an Azure environment.
-
setAzureOptions
public void setAzureOptions(AzureActivationOptions azureOptions)
Setter for azureOptions. Options for activating an Azure environment.
-
getPrivateCloudOptions
public PrivateCloudActivationOptions getPrivateCloudOptions()
Getter for privateCloudOptions. Options for activating a Private Cloud environment.
-
setPrivateCloudOptions
public void setPrivateCloudOptions(PrivateCloudActivationOptions privateCloudOptions)
Setter for privateCloudOptions. Options for activating a Private Cloud environment.
-
getCustomSubdomain
public String getCustomSubdomain()
Getter for customSubdomain. Custom environment subdomain. Overrides the environment subdomain using a customized domain either in the old subdomain format like ENV_ID.dw or the new format like dw-ENV_NAME.
-
setCustomSubdomain
public void setCustomSubdomain(String customSubdomain)
Setter for customSubdomain. Custom environment subdomain. Overrides the environment subdomain using a customized domain either in the old subdomain format like ENV_ID.dw or the new format like dw-ENV_NAME.
-
getResourcePool
public String getResourcePool()
Getter for resourcePool. The Resource Pool of the cluster.
-
setResourcePool
public void setResourcePool(String resourcePool)
Setter for resourcePool. The Resource Pool of the cluster.
-
-