Class EnableServiceRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-11-29T14:06:18.577-08:00")
    public class EnableServiceRequest
    extends Object
    Request object for Enable Service method.
    • Constructor Detail

      • EnableServiceRequest

        public EnableServiceRequest()
    • Method Detail

      • getName

        public String getName()
        Getter for name. Name of the CDE Service.
      • setName

        public void setName​(String name)
        Setter for name. Name of the CDE Service.
      • getEnv

        public String getEnv()
        Getter for env. CDP environment where cde service should be enabled.
      • setEnv

        public void setEnv​(String env)
        Setter for env. CDP environment where cde service should be enabled.
      • getInstanceType

        public String getInstanceType()
        Getter for instanceType. Instance type of the cluster for CDE Service.
      • setInstanceType

        public void setInstanceType​(String instanceType)
        Setter for instanceType. Instance type of the cluster for CDE Service.
      • getMinimumInstances

        public Integer getMinimumInstances()
        Getter for minimumInstances. Minimum Instances for the CDE Service.
      • setMinimumInstances

        public void setMinimumInstances​(Integer minimumInstances)
        Setter for minimumInstances. Minimum Instances for the CDE Service.
      • getMaximumInstances

        public Integer getMaximumInstances()
        Getter for maximumInstances. Maximum Instances for the CDE Service.
      • setMaximumInstances

        public void setMaximumInstances​(Integer maximumInstances)
        Setter for maximumInstances. Maximum Instances for the CDE Service.
      • getMinimumSpotInstances

        public Integer getMinimumSpotInstances()
        Getter for minimumSpotInstances. Minimum Spot instances for the CDE Service.
      • setMinimumSpotInstances

        public void setMinimumSpotInstances​(Integer minimumSpotInstances)
        Setter for minimumSpotInstances. Minimum Spot instances for the CDE Service.
      • getMaximumSpotInstances

        public Integer getMaximumSpotInstances()
        Getter for maximumSpotInstances. Maximum Spot Instances for the CDE Service.
      • setMaximumSpotInstances

        public void setMaximumSpotInstances​(Integer maximumSpotInstances)
        Setter for maximumSpotInstances. Maximum Spot Instances for the CDE Service.
      • getInitialInstances

        public Integer getInitialInstances()
        Getter for initialInstances. Initial Instances when the service is enabled.
      • setInitialInstances

        public void setInitialInstances​(Integer initialInstances)
        Setter for initialInstances. Initial Instances when the service is enabled.
      • getInitialSpotInstances

        public Integer getInitialSpotInstances()
        Getter for initialSpotInstances. Initial spot Instances when the service is enabled.
      • setInitialSpotInstances

        public void setInitialSpotInstances​(Integer initialSpotInstances)
        Setter for initialSpotInstances. Initial spot Instances when the service is enabled.
      • getRootVolumeSize

        public Integer getRootVolumeSize()
        Getter for rootVolumeSize. EBS volume size in GB.
      • setRootVolumeSize

        public void setRootVolumeSize​(Integer rootVolumeSize)
        Setter for rootVolumeSize. EBS volume size in GB.
      • getEnablePublicEndpoint

        public Boolean getEnablePublicEndpoint()
        Getter for enablePublicEndpoint. Creates a CDE endpoint (Load Balancer) in a publicly accessible subnet. If set false, the endpoint will be created in a private subnet and you will need to setup access to the endpoint manually in your cloud account.
      • setEnablePublicEndpoint

        public void setEnablePublicEndpoint​(Boolean enablePublicEndpoint)
        Setter for enablePublicEndpoint. Creates a CDE endpoint (Load Balancer) in a publicly accessible subnet. If set false, the endpoint will be created in a private subnet and you will need to setup access to the endpoint manually in your cloud account.
      • getEnableWorkloadAnalytics

        public Boolean getEnableWorkloadAnalytics()
        Getter for enableWorkloadAnalytics. If set false, diagnostic information about job and query execution is sent to Cloudera Workload Manager. Anonymization can be configured under Environments / Shared Resources / Telemetry. Refer documentation for more info at https://docs.cloudera.com/workload-manager/cloud/index.html.
      • setEnableWorkloadAnalytics

        public void setEnableWorkloadAnalytics​(Boolean enableWorkloadAnalytics)
        Setter for enableWorkloadAnalytics. If set false, diagnostic information about job and query execution is sent to Cloudera Workload Manager. Anonymization can be configured under Environments / Shared Resources / Telemetry. Refer documentation for more info at https://docs.cloudera.com/workload-manager/cloud/index.html.
      • getUseSsd

        public Boolean getUseSsd()
        Getter for useSsd. Instance local storage (SSD) would be used for the workload filesystem (Example - spark local directory). In case the workload requires more space than what's available in the instance storage, please use an instance type with sufficient instance local storage or choose an instance type without SSD and configure the EBS volume size. Currently supported only for aws services.
      • setUseSsd

        public void setUseSsd​(Boolean useSsd)
        Setter for useSsd. Instance local storage (SSD) would be used for the workload filesystem (Example - spark local directory). In case the workload requires more space than what's available in the instance storage, please use an instance type with sufficient instance local storage or choose an instance type without SSD and configure the EBS volume size. Currently supported only for aws services.
      • getChartValueOverrides

        public List<ChartValueOverridesRequest> getChartValueOverrides()
        Getter for chartValueOverrides. Chart overrides for enabling a service.
      • setChartValueOverrides

        public void setChartValueOverrides​(List<ChartValueOverridesRequest> chartValueOverrides)
        Setter for chartValueOverrides. Chart overrides for enabling a service.
      • getWhitelistIps

        public List<String> getWhitelistIps()
        Getter for whitelistIps. List of CIDRs that would be allowed to access kubernetes master API server.
      • setWhitelistIps

        public void setWhitelistIps​(List<String> whitelistIps)
        Setter for whitelistIps. List of CIDRs that would be allowed to access kubernetes master API server.
      • getLoadbalancerAllowlist

        public List<String> getLoadbalancerAllowlist()
        Getter for loadbalancerAllowlist. List of CIDRs that would be allowed to access the load balancer.
      • setLoadbalancerAllowlist

        public void setLoadbalancerAllowlist​(List<String> loadbalancerAllowlist)
        Setter for loadbalancerAllowlist. List of CIDRs that would be allowed to access the load balancer.
      • getTags

        public Map<String,​String> getTags()
        Getter for tags. User defined labels that tag all provisioned cloud resources.
      • setTags

        public void setTags​(Map<String,​String> tags)
        Setter for tags. User defined labels that tag all provisioned cloud resources.
      • getSkipValidation

        public Boolean getSkipValidation()
        Getter for skipValidation. Skip Validation check.
      • setSkipValidation

        public void setSkipValidation​(Boolean skipValidation)
        Setter for skipValidation. Skip Validation check.
      • getEnablePrivateNetwork

        public Boolean getEnablePrivateNetwork()
        Getter for enablePrivateNetwork. Create CDE with fully private Azure services (AKS, MySQL, etc.) and enable vnet access via private endpoints and private link. This option is available only for Azure services.
      • setEnablePrivateNetwork

        public void setEnablePrivateNetwork​(Boolean enablePrivateNetwork)
        Setter for enablePrivateNetwork. Create CDE with fully private Azure services (AKS, MySQL, etc.) and enable vnet access via private endpoints and private link. This option is available only for Azure services.
      • getSubnets

        public List<String> getSubnets()
        Getter for subnets. List of Subnet IDs of CDP subnets to use for the kubernetes worker node.
      • setSubnets

        public void setSubnets​(List<String> subnets)
        Setter for subnets. List of Subnet IDs of CDP subnets to use for the kubernetes worker node.
      • getCustomAzureFilesConfigs

        public CustomAzureFilesConfigs getCustomAzureFilesConfigs()
        Getter for customAzureFilesConfigs. CDE uses a default public File Shares storage provisioned by AKS. Enable this option to use your own public/private File Shares.
      • setCustomAzureFilesConfigs

        public void setCustomAzureFilesConfigs​(CustomAzureFilesConfigs customAzureFilesConfigs)
        Setter for customAzureFilesConfigs. CDE uses a default public File Shares storage provisioned by AKS. Enable this option to use your own public/private File Shares.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object