Package com.cloudera.cdp.de.model
Class EnableServiceRequest
- java.lang.Object
-
- com.cloudera.cdp.de.model.EnableServiceRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-12-01T13:59:42.040-08:00") public class EnableServiceRequest extends Object
Request object for Enable Service method.
-
-
Constructor Summary
Constructors Constructor Description EnableServiceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
List<ChartValueOverridesRequest>
getChartValueOverrides()
Getter for chartValueOverrides.CustomAzureFilesConfigs
getCustomAzureFilesConfigs()
Getter for customAzureFilesConfigs.Boolean
getDeployPreviousVersion()
Getter for deployPreviousVersion.Boolean
getEnablePrivateNetwork()
Getter for enablePrivateNetwork.Boolean
getEnablePublicEndpoint()
Getter for enablePublicEndpoint.Boolean
getEnableWorkloadAnalytics()
Getter for enableWorkloadAnalytics.String
getEnv()
Getter for env.Integer
getInitialInstances()
Getter for initialInstances.Integer
getInitialSpotInstances()
Getter for initialSpotInstances.String
getInstanceType()
Getter for instanceType.List<String>
getLoadbalancerAllowlist()
Getter for loadbalancerAllowlist.Integer
getMaximumInstances()
Getter for maximumInstances.Integer
getMaximumSpotInstances()
Getter for maximumSpotInstances.Integer
getMinimumInstances()
Getter for minimumInstances.Integer
getMinimumSpotInstances()
Getter for minimumSpotInstances.String
getName()
Getter for name.String
getNetworkOutboundType()
Getter for networkOutboundType.Integer
getRootVolumeSize()
Getter for rootVolumeSize.Boolean
getSkipValidation()
Getter for skipValidation.List<String>
getSubnets()
Getter for subnets.Map<String,String>
getTags()
Getter for tags.Boolean
getUseSsd()
Getter for useSsd.List<String>
getWhitelistIps()
Getter for whitelistIps.int
hashCode()
void
setChartValueOverrides(List<ChartValueOverridesRequest> chartValueOverrides)
Setter for chartValueOverrides.void
setCustomAzureFilesConfigs(CustomAzureFilesConfigs customAzureFilesConfigs)
Setter for customAzureFilesConfigs.void
setDeployPreviousVersion(Boolean deployPreviousVersion)
Setter for deployPreviousVersion.void
setEnablePrivateNetwork(Boolean enablePrivateNetwork)
Setter for enablePrivateNetwork.void
setEnablePublicEndpoint(Boolean enablePublicEndpoint)
Setter for enablePublicEndpoint.void
setEnableWorkloadAnalytics(Boolean enableWorkloadAnalytics)
Setter for enableWorkloadAnalytics.void
setEnv(String env)
Setter for env.void
setInitialInstances(Integer initialInstances)
Setter for initialInstances.void
setInitialSpotInstances(Integer initialSpotInstances)
Setter for initialSpotInstances.void
setInstanceType(String instanceType)
Setter for instanceType.void
setLoadbalancerAllowlist(List<String> loadbalancerAllowlist)
Setter for loadbalancerAllowlist.void
setMaximumInstances(Integer maximumInstances)
Setter for maximumInstances.void
setMaximumSpotInstances(Integer maximumSpotInstances)
Setter for maximumSpotInstances.void
setMinimumInstances(Integer minimumInstances)
Setter for minimumInstances.void
setMinimumSpotInstances(Integer minimumSpotInstances)
Setter for minimumSpotInstances.void
setName(String name)
Setter for name.void
setNetworkOutboundType(String networkOutboundType)
Setter for networkOutboundType.void
setRootVolumeSize(Integer rootVolumeSize)
Setter for rootVolumeSize.void
setSkipValidation(Boolean skipValidation)
Setter for skipValidation.void
setSubnets(List<String> subnets)
Setter for subnets.void
setTags(Map<String,String> tags)
Setter for tags.void
setUseSsd(Boolean useSsd)
Setter for useSsd.void
setWhitelistIps(List<String> whitelistIps)
Setter for whitelistIps.String
toString()
-
-
-
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.
-
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.
-
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.
-
-