Package com.cloudera.cdp.datahub.model
Class CreateAWSClusterRequest
- java.lang.Object
-
- com.cloudera.cdp.datahub.model.CreateAWSClusterRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-06-01T14:27:19.310-07:00") public class CreateAWSClusterRequest extends Object
Request object for create AWS cluster request.
-
-
Constructor Summary
Constructors Constructor Description CreateAWSClusterRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
String
getClusterDefinition()
Getter for clusterDefinition.String
getClusterDefinitionName()
Deprecated.String
getClusterName()
Getter for clusterName.String
getClusterTemplate()
Getter for clusterTemplate.String
getClusterTemplateName()
Deprecated.String
getCustomConfigurationsName()
Getter for customConfigurationsName.String
getDatahubDatabase()
Getter for datahubDatabase.Boolean
getEnableLoadBalancer()
Getter for enableLoadBalancer.String
getEnvironment()
Getter for environment.String
getEnvironmentName()
Deprecated.ImageRequest
getImage()
Getter for image.List<InstanceGroupRequest>
getInstanceGroups()
Getter for instanceGroups.Integer
getJavaVersion()
Getter for javaVersion.Boolean
getMultiAz()
Getter for multiAz.String
getRequestTemplate()
Getter for requestTemplate.String
getSubnetId()
Getter for subnetId.List<String>
getSubnetIds()
Getter for subnetIds.List<DatahubResourceTagRequest>
getTags()
Getter for tags.int
hashCode()
void
setClusterDefinition(String clusterDefinition)
Setter for clusterDefinition.void
setClusterDefinitionName(String clusterDefinitionName)
Deprecated.void
setClusterName(String clusterName)
Setter for clusterName.void
setClusterTemplate(String clusterTemplate)
Setter for clusterTemplate.void
setClusterTemplateName(String clusterTemplateName)
Deprecated.void
setCustomConfigurationsName(String customConfigurationsName)
Setter for customConfigurationsName.void
setDatahubDatabase(String datahubDatabase)
Setter for datahubDatabase.void
setEnableLoadBalancer(Boolean enableLoadBalancer)
Setter for enableLoadBalancer.void
setEnvironment(String environment)
Setter for environment.void
setEnvironmentName(String environmentName)
Deprecated.void
setImage(ImageRequest image)
Setter for image.void
setInstanceGroups(List<InstanceGroupRequest> instanceGroups)
Setter for instanceGroups.void
setJavaVersion(Integer javaVersion)
Setter for javaVersion.void
setMultiAz(Boolean multiAz)
Setter for multiAz.void
setRequestTemplate(String requestTemplate)
Setter for requestTemplate.void
setSubnetId(String subnetId)
Setter for subnetId.void
setSubnetIds(List<String> subnetIds)
Setter for subnetIds.void
setTags(List<DatahubResourceTagRequest> tags)
Setter for tags.String
toString()
-
-
-
Method Detail
-
getClusterName
public String getClusterName()
Getter for clusterName. The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
-
setClusterName
public void setClusterName(String clusterName)
Setter for clusterName. The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
-
getClusterDefinitionName
@Deprecated public String getClusterDefinitionName()
Deprecated.Getter for clusterDefinitionName. Deprecated, the name or CRN of the cluster definition to use for cluster creation.
-
setClusterDefinitionName
@Deprecated public void setClusterDefinitionName(String clusterDefinitionName)
Deprecated.Setter for clusterDefinitionName. Deprecated, the name or CRN of the cluster definition to use for cluster creation.
-
getClusterDefinition
public String getClusterDefinition()
Getter for clusterDefinition. The name or CRN of the cluster definition to use for cluster creation.
-
setClusterDefinition
public void setClusterDefinition(String clusterDefinition)
Setter for clusterDefinition. The name or CRN of the cluster definition to use for cluster creation.
-
getEnvironmentName
@Deprecated public String getEnvironmentName()
Deprecated.Getter for environmentName. Deprecated, name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.
-
setEnvironmentName
@Deprecated public void setEnvironmentName(String environmentName)
Deprecated.Setter for environmentName. Deprecated, name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.
-
getEnvironment
public String getEnvironment()
Getter for environment. Name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.
-
setEnvironment
public void setEnvironment(String environment)
Setter for environment. Name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.
-
getClusterTemplateName
@Deprecated public String getClusterTemplateName()
Deprecated.Getter for clusterTemplateName. Deprecated, name or CRN of the cluster template to use for cluster creation.
-
setClusterTemplateName
@Deprecated public void setClusterTemplateName(String clusterTemplateName)
Deprecated.Setter for clusterTemplateName. Deprecated, name or CRN of the cluster template to use for cluster creation.
-
getClusterTemplate
public String getClusterTemplate()
Getter for clusterTemplate. Name or CRN of the cluster template to use for cluster creation.
-
setClusterTemplate
public void setClusterTemplate(String clusterTemplate)
Setter for clusterTemplate. Name or CRN of the cluster template to use for cluster creation.
-
getCustomConfigurationsName
public String getCustomConfigurationsName()
Getter for customConfigurationsName. The name of the custom configurations to use for cluster creation.
-
setCustomConfigurationsName
public void setCustomConfigurationsName(String customConfigurationsName)
Setter for customConfigurationsName. The name of the custom configurations to use for cluster creation.
-
getInstanceGroups
public List<InstanceGroupRequest> getInstanceGroups()
Getter for instanceGroups. Instance group details.
-
setInstanceGroups
public void setInstanceGroups(List<InstanceGroupRequest> instanceGroups)
Setter for instanceGroups. Instance group details.
-
getSubnetId
public String getSubnetId()
Getter for subnetId. The subnet ID.
-
setSubnetId
public void setSubnetId(String subnetId)
Setter for subnetId. The subnet ID.
-
getImage
public ImageRequest getImage()
Getter for image. The image to be used for cluster creation.
-
setImage
public void setImage(ImageRequest image)
Setter for image. The image to be used for cluster creation.
-
getTags
public List<DatahubResourceTagRequest> getTags()
Getter for tags. Tags to be added to Datahub related resources.
-
setTags
public void setTags(List<DatahubResourceTagRequest> tags)
Setter for tags. Tags to be added to Datahub related resources.
-
getRequestTemplate
public String getRequestTemplate()
Getter for requestTemplate. JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
-
setRequestTemplate
public void setRequestTemplate(String requestTemplate)
Setter for requestTemplate. JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
-
getDatahubDatabase
public String getDatahubDatabase()
Getter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA
-
setDatahubDatabase
public void setDatahubDatabase(String datahubDatabase)
Setter for datahubDatabase. Database type for datahub. Currently supported values: NONE, NON_HA, HA
-
getSubnetIds
public List<String> getSubnetIds()
Getter for subnetIds. List of subnet IDs in case of multi availability zone setup.
-
setSubnetIds
public void setSubnetIds(List<String> subnetIds)
Setter for subnetIds. List of subnet IDs in case of multi availability zone setup.
-
getMultiAz
public Boolean getMultiAz()
Getter for multiAz. Flag that toggles the multi availability zone for the given datahub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.
-
setMultiAz
public void setMultiAz(Boolean multiAz)
Setter for multiAz. Flag that toggles the multi availability zone for the given datahub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.
-
getEnableLoadBalancer
public Boolean getEnableLoadBalancer()
Getter for enableLoadBalancer. Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
-
setEnableLoadBalancer
public void setEnableLoadBalancer(Boolean enableLoadBalancer)
Setter for enableLoadBalancer. Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
-
getJavaVersion
public Integer getJavaVersion()
Getter for javaVersion. Configure the major version of Java on the cluster.
-
setJavaVersion
public void setJavaVersion(Integer javaVersion)
Setter for javaVersion. Configure the major version of Java on the cluster.
-
-