Class CreateVcRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-06-05T15:30:59.789-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 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.
      • getSessionTimeout

        public String 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

        public void setSessionTimeout​(String sessionTimeout)
        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

        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.
      • getFullAccessUsers

        public List<String> getFullAccessUsers()
        Getter for fullAccessUsers. Users with full access.
      • setFullAccessUsers

        public void setFullAccessUsers​(List<String> fullAccessUsers)
        Setter for fullAccessUsers. Users with full access.
      • getFullAccessGroups

        public List<String> getFullAccessGroups()
        Getter for fullAccessGroups. Groups with full access.
      • setFullAccessGroups

        public void setFullAccessGroups​(List<String> fullAccessGroups)
        Setter for fullAccessGroups. Groups with full access.
      • getViewOnlyUsers

        public List<String> getViewOnlyUsers()
        Getter for viewOnlyUsers. Users with view only access.
      • setViewOnlyUsers

        public void setViewOnlyUsers​(List<String> viewOnlyUsers)
        Setter for viewOnlyUsers. Users with view only access.
      • getViewOnlyGroups

        public List<String> getViewOnlyGroups()
        Getter for viewOnlyGroups. Groups with view only access.
      • setViewOnlyGroups

        public void setViewOnlyGroups​(List<String> viewOnlyGroups)
        Setter for viewOnlyGroups. Groups with view only access.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object