Package com.cloudera.cdp.de.model
Class CreateVcRequest
java.lang.Object
com.cloudera.cdp.de.model.CreateVcRequest
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:27.658-07:00")
public class CreateVcRequest
extends Object
Request object for CreateVc method.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for aclUsers.Getter for chartValueOverrides.Getter for clusterId.Getter for cpuRequests.Getter for fullAccessGroups.Getter for fullAccessUsers.Getter for memoryRequests.getName()
Getter for name.Getter for runtimeSpotComponent.Getter for sessionTimeout.Getter for smtpConfigs.Getter for sparkConfigs.Getter for sparkVersion.Getter for vcTier.Getter for viewOnlyGroups.Getter for viewOnlyUsers.int
hashCode()
void
setAclUsers
(String aclUsers) Setter for aclUsers.void
setChartValueOverrides
(List<ChartValueOverridesRequest> chartValueOverrides) Setter for chartValueOverrides.void
setClusterId
(String clusterId) Setter for clusterId.void
setCpuRequests
(String cpuRequests) Setter for cpuRequests.void
setFullAccessGroups
(List<String> fullAccessGroups) Setter for fullAccessGroups.void
setFullAccessUsers
(List<String> fullAccessUsers) Setter for fullAccessUsers.void
setMemoryRequests
(String memoryRequests) Setter for memoryRequests.void
Setter for name.void
setRuntimeSpotComponent
(String runtimeSpotComponent) Setter for runtimeSpotComponent.void
setSessionTimeout
(String sessionTimeout) Setter for sessionTimeout.void
setSmtpConfigs
(SmtpConfigRequest smtpConfigs) Setter for smtpConfigs.void
setSparkConfigs
(Map<String, String> sparkConfigs) Setter for sparkConfigs.void
setSparkVersion
(String sparkVersion) Setter for sparkVersion.void
Setter for vcTier.void
setViewOnlyGroups
(List<String> viewOnlyGroups) Setter for viewOnlyGroups.void
setViewOnlyUsers
(List<String> viewOnlyUsers) Setter for viewOnlyUsers.toString()
-
Constructor Details
-
CreateVcRequest
public CreateVcRequest()
-
-
Method Details
-
getName
Getter for name. Name of the virtual cluster. -
setName
Setter for name. Name of the virtual cluster. -
getClusterId
Getter for clusterId. Cluster id of the CDE service where virtual cluster has to be created. -
setClusterId
Setter for clusterId. Cluster id of the CDE service where virtual cluster has to be created. -
getCpuRequests
Getter for cpuRequests. Cpu requests for autoscaling. -
setCpuRequests
Setter for cpuRequests. Cpu requests for autoscaling. -
getMemoryRequests
Getter for memoryRequests. Memory requests for autoscaling - eg. 30Gi. -
setMemoryRequests
Setter for memoryRequests. Memory requests for autoscaling - eg. 30Gi. -
getChartValueOverrides
Getter for chartValueOverrides. Chart overrides for creating a virtual cluster. -
setChartValueOverrides
Setter for chartValueOverrides. Chart overrides for creating a virtual cluster. -
getSmtpConfigs
Getter for smtpConfigs. SMTP Configurations for Airflow Email Alerts. -
setSmtpConfigs
Setter for smtpConfigs. SMTP Configurations for Airflow Email Alerts. -
getRuntimeSpotComponent
Getter for runtimeSpotComponent. Used to describe where the Driver and the Executors would run. By default the Driver would run on on-demand instances and the Executors on spot instances. Setting it to ALL will run both the Driver and the Executors on spot instances whereas setting it to NONE should run both the Driver and the Executor on on-demand instances. Currently applicable for aws services only. Use this option only on services with spot instances enabled. -
setRuntimeSpotComponent
Setter for runtimeSpotComponent. Used to describe where the Driver and the Executors would run. By default the Driver would run on on-demand instances and the Executors on spot instances. Setting it to ALL will run both the Driver and the Executors on spot instances whereas setting it to NONE should run both the Driver and the Executor on on-demand instances. Currently applicable for aws services only. Use this option only on services with spot instances enabled. -
getSparkVersion
Getter for sparkVersion. Spark version for the virtual cluster. Currently supported Spark versions are SPARK2(deprecated), SPARK3, SPARK3_3 and SPARK3_5. This feature is only supported in CDE-1.7.0 and later. SPARK3_3 is supported in CDE-1.19 and later. SPARK3_5 is supported in CDE-1.21 and later. -
setSparkVersion
Setter for sparkVersion. Spark version for the virtual cluster. Currently supported Spark versions are SPARK2(deprecated), SPARK3, SPARK3_3 and SPARK3_5. This feature is only supported in CDE-1.7.0 and later. SPARK3_3 is supported in CDE-1.19 and later. SPARK3_5 is supported in CDE-1.21 and later. -
getVcTier
Getter for vcTier. Tier of the virtual cluster. Currently supported tiers are CORE and ALLP. CORE tiered virtual cluster enables operational deployment via batch jobs. ALLP virtual clusters are all-purpose virtual clusters supporting both operational batch jobs and interactive sessions. This feature is only supported in CDE-1.19.0 and beyond. -
setVcTier
Setter for vcTier. Tier of the virtual cluster. Currently supported tiers are CORE and ALLP. CORE tiered virtual cluster enables operational deployment via batch jobs. ALLP virtual clusters are all-purpose virtual clusters supporting both operational batch jobs and interactive sessions. This feature is only supported in CDE-1.19.0 and beyond. -
getSessionTimeout
Getter for sessionTimeout. Set a default timeout for your sessions. The default option is 8 hours. This option can be overridden when creating a new session. -
setSessionTimeout
Setter for sessionTimeout. Set a default timeout for your sessions. The default option is 8 hours. This option can be overridden when creating a new session. -
getAclUsers
Getter for aclUsers. Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster. -
setAclUsers
Setter for aclUsers. Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster. -
getFullAccessUsers
Getter for fullAccessUsers. Users with full access. -
setFullAccessUsers
Setter for fullAccessUsers. Users with full access. -
getFullAccessGroups
Getter for fullAccessGroups. Groups with full access. -
setFullAccessGroups
Setter for fullAccessGroups. Groups with full access. -
getViewOnlyUsers
Getter for viewOnlyUsers. Users with view only access. -
setViewOnlyUsers
Setter for viewOnlyUsers. Users with view only access. -
getViewOnlyGroups
Getter for viewOnlyGroups. Groups with view only access. -
setViewOnlyGroups
Setter for viewOnlyGroups. Groups with view only access. -
getSparkConfigs
Getter for sparkConfigs. Spark configs that will be applied to all the spark jobs inside a virtual cluster. -
setSparkConfigs
Setter for sparkConfigs. Spark configs that will be applied to all the spark jobs inside a virtual cluster. -
equals
-
hashCode
public int hashCode() -
toString
-