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="2023-09-27T13:27:53.929-07:00") public class CreateVcRequest extends Object
Request object for CreateVc method.
-
-
Constructor Summary
Constructors Constructor Description CreateVcRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAclUsers()
Getter for aclUsers.List<ChartValueOverridesRequest>
getChartValueOverrides()
Getter for chartValueOverrides.String
getClusterId()
Getter for clusterId.String
getCpuRequests()
Getter for cpuRequests.String
getMemoryRequests()
Getter for memoryRequests.String
getName()
Getter for name.String
getRuntimeSpotComponent()
Getter for runtimeSpotComponent.SmtpConfigRequest
getSmtpConfigs()
Getter for smtpConfigs.String
getSparkVersion()
Getter for sparkVersion.String
getVcTier()
Getter for vcTier.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
setMemoryRequests(String memoryRequests)
Setter for memoryRequests.void
setName(String name)
Setter for name.void
setRuntimeSpotComponent(String runtimeSpotComponent)
Setter for runtimeSpotComponent.void
setSmtpConfigs(SmtpConfigRequest smtpConfigs)
Setter for smtpConfigs.void
setSparkVersion(String sparkVersion)
Setter for sparkVersion.void
setVcTier(String vcTier)
Setter for vcTier.String
toString()
-
-
-
Method Detail
-
getName
public String getName()
Getter for name. Name of the virtual cluster.
-
setName
public void setName(String name)
Setter for name. Name of the virtual cluster.
-
getClusterId
public String getClusterId()
Getter for clusterId. Cluster id of the CDE service where virtual cluster has to be created.
-
setClusterId
public void setClusterId(String clusterId)
Setter for clusterId. Cluster id of the CDE service where virtual cluster has to be created.
-
getCpuRequests
public String getCpuRequests()
Getter for cpuRequests. Cpu requests for autoscaling.
-
setCpuRequests
public void setCpuRequests(String cpuRequests)
Setter for cpuRequests. Cpu requests for autoscaling.
-
getMemoryRequests
public String getMemoryRequests()
Getter for memoryRequests. Memory requests for autoscaling - eg. 30Gi.
-
setMemoryRequests
public void setMemoryRequests(String memoryRequests)
Setter for memoryRequests. Memory requests for autoscaling - eg. 30Gi.
-
getChartValueOverrides
public List<ChartValueOverridesRequest> getChartValueOverrides()
Getter for chartValueOverrides. Chart overrides for creating a virtual cluster.
-
setChartValueOverrides
public void setChartValueOverrides(List<ChartValueOverridesRequest> chartValueOverrides)
Setter for chartValueOverrides. Chart overrides for creating a virtual cluster.
-
getSmtpConfigs
public SmtpConfigRequest getSmtpConfigs()
Getter for smtpConfigs. SMTP Configurations for Airflow Email Alerts.
-
setSmtpConfigs
public void setSmtpConfigs(SmtpConfigRequest smtpConfigs)
Setter for smtpConfigs. SMTP Configurations for Airflow Email Alerts.
-
getRuntimeSpotComponent
public String 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
public void setRuntimeSpotComponent(String runtimeSpotComponent)
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
public String getSparkVersion()
Getter for sparkVersion. Spark version for the virtual cluster. Currently supported spark versions are SPARK2(deprecated), SPARK3 and SPARK3_3. This feature is only supported in CDE-1.7.0 and beyond. SPARK3_3 is supported in CDE-1.19 and beyond.
-
setSparkVersion
public void setSparkVersion(String sparkVersion)
Setter for sparkVersion. Spark version for the virtual cluster. Currently supported spark versions are SPARK2(deprecated), SPARK3 and SPARK3_3. This feature is only supported in CDE-1.7.0 and beyond. SPARK3_3 is supported in CDE-1.19 and beyond.
-
getVcTier
public String 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
public void setVcTier(String vcTier)
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.
-
getAclUsers
public String getAclUsers()
Getter for aclUsers. Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster.
-
setAclUsers
public void setAclUsers(String aclUsers)
Setter for aclUsers. Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster.
-
-