Class EnableServiceRequest

java.lang.Object
com.cloudera.cdp.de.model.EnableServiceRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.658-07:00") public class EnableServiceRequest extends Object
Request object for Enable Service method.
  • Constructor Details

    • EnableServiceRequest

      public EnableServiceRequest()
  • Method Details

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

      public Boolean getDeployPreviousVersion()
      Getter for deployPreviousVersion. If set to \"true\", the previous version of the CDE service will be deployed.
    • setDeployPreviousVersion

      public void setDeployPreviousVersion(Boolean deployPreviousVersion)
      Setter for deployPreviousVersion. If set to \"true\", the previous version of the CDE service will be deployed.
    • 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 a fully private CDE instance on either Amazon or Azure. This includes services such as Kubernetes, MySQL, etc. For Azure, this will also enable virtual network (VNet) access via private endpoints and private link.
    • setEnablePrivateNetwork

      public void setEnablePrivateNetwork(Boolean enablePrivateNetwork)
      Setter for enablePrivateNetwork. Create a fully private CDE instance on either Amazon or Azure. This includes services such as Kubernetes, MySQL, etc. For Azure, this will also enable virtual network (VNet) access via private endpoints and private link.
    • 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.
    • getAzureFilesharePrivateDNSZoneId

      public String getAzureFilesharePrivateDNSZoneId()
      Getter for azureFilesharePrivateDNSZoneId. Resource ID of custom private DNS zone for Azure storage account.
    • setAzureFilesharePrivateDNSZoneId

      public void setAzureFilesharePrivateDNSZoneId(String azureFilesharePrivateDNSZoneId)
      Setter for azureFilesharePrivateDNSZoneId. Resource ID of custom private DNS zone for Azure storage account.
    • getAzureDatabasePrivateDNSZoneId

      public String getAzureDatabasePrivateDNSZoneId()
      Getter for azureDatabasePrivateDNSZoneId. Resource ID of the custom private DNS zone associated with the Azure database.
    • setAzureDatabasePrivateDNSZoneId

      public void setAzureDatabasePrivateDNSZoneId(String azureDatabasePrivateDNSZoneId)
      Setter for azureDatabasePrivateDNSZoneId. Resource ID of the custom private DNS zone associated with the Azure database.
    • 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.
    • getNetworkOutboundType

      public String getNetworkOutboundType()
      Getter for networkOutboundType. Network outbound type. Currently 'udr' is the only supported.
    • setNetworkOutboundType

      public void setNetworkOutboundType(String networkOutboundType)
      Setter for networkOutboundType. Network outbound type. Currently 'udr' is the only supported.
    • getAllPurposeInstanceType

      public String getAllPurposeInstanceType()
      Getter for allPurposeInstanceType. Instance type of the cluster for CDE Service for the All Purpose Instance Group.
    • setAllPurposeInstanceType

      public void setAllPurposeInstanceType(String allPurposeInstanceType)
      Setter for allPurposeInstanceType. Instance type of the cluster for CDE Service for the All Purpose Instance Group.
    • getAllPurposeMinimumInstances

      public Integer getAllPurposeMinimumInstances()
      Getter for allPurposeMinimumInstances. Minimum Instances for the CDE Service for the All Purpose Instance Group.
    • setAllPurposeMinimumInstances

      public void setAllPurposeMinimumInstances(Integer allPurposeMinimumInstances)
      Setter for allPurposeMinimumInstances. Minimum Instances for the CDE Service for the All Purpose Instance Group.
    • getAllPurposeMaximumInstances

      public Integer getAllPurposeMaximumInstances()
      Getter for allPurposeMaximumInstances. Maximum Instances for the CDE Service for the All Purpose Instance Group.
    • setAllPurposeMaximumInstances

      public void setAllPurposeMaximumInstances(Integer allPurposeMaximumInstances)
      Setter for allPurposeMaximumInstances. Maximum Instances for the CDE Service for the All Purpose Instance Group.
    • getAllPurposeMinimumSpotInstances

      public Integer getAllPurposeMinimumSpotInstances()
      Getter for allPurposeMinimumSpotInstances. Minimum Spot instances for the CDE Service for the All Purpose Instance Group.
    • setAllPurposeMinimumSpotInstances

      public void setAllPurposeMinimumSpotInstances(Integer allPurposeMinimumSpotInstances)
      Setter for allPurposeMinimumSpotInstances. Minimum Spot instances for the CDE Service for the All Purpose Instance Group.
    • getAllPurposeMaximumSpotInstances

      public Integer getAllPurposeMaximumSpotInstances()
      Getter for allPurposeMaximumSpotInstances. Maximum Spot Instances for the CDE Service for the All Purpose Instance Group.
    • setAllPurposeMaximumSpotInstances

      public void setAllPurposeMaximumSpotInstances(Integer allPurposeMaximumSpotInstances)
      Setter for allPurposeMaximumSpotInstances. Maximum Spot Instances for the CDE Service for the All Purpose Instance Group.
    • getAllPurposeInitialInstances

      public Integer getAllPurposeInitialInstances()
      Getter for allPurposeInitialInstances. Initial Instances when the service is enabled for the All Purpose Instance Group.
    • setAllPurposeInitialInstances

      public void setAllPurposeInitialInstances(Integer allPurposeInitialInstances)
      Setter for allPurposeInitialInstances. Initial Instances when the service is enabled for the All Purpose Instance Group.
    • getAllPurposeInitialSpotInstances

      public Integer getAllPurposeInitialSpotInstances()
      Getter for allPurposeInitialSpotInstances. Initial spot Instances when the service is enabled for the All Purpose Instance Group.
    • setAllPurposeInitialSpotInstances

      public void setAllPurposeInitialSpotInstances(Integer allPurposeInitialSpotInstances)
      Setter for allPurposeInitialSpotInstances. Initial spot Instances when the service is enabled for the All Purpose Instance Group.
    • getAllPurposeRootVolumeSize

      public Integer getAllPurposeRootVolumeSize()
      Getter for allPurposeRootVolumeSize. EBS volume size in GB for the All Purpose Instance Group.
    • setAllPurposeRootVolumeSize

      public void setAllPurposeRootVolumeSize(Integer allPurposeRootVolumeSize)
      Setter for allPurposeRootVolumeSize. EBS volume size in GB for the All Purpose Instance Group.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object