Class CreateVcRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:42.771-07:00")
    public class CreateVcRequest
    extends Object
    Request object for CreateVc method.
    • Constructor Detail

      • CreateVcRequest

        public CreateVcRequest()
    • 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 2.4.7 and 3.1.1. This feature is only supported in CDE-1.7.0 and beyond.
      • setSparkVersion

        public void setSparkVersion​(String sparkVersion)
        Setter for sparkVersion. Spark version for the virtual cluster. Currently supported spark versions are 2.4.7 and 3.1.1. This feature is only supported in CDE-1.7.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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object