Package com.cloudera.cdp.datahub.model
Class CreateClusterTemplateRequest
- java.lang.Object
-
- com.cloudera.cdp.datahub.model.CreateClusterTemplateRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-06-01T14:27:19.310-07:00") public class CreateClusterTemplateRequest extends Object
Request object for create cluster template request.
-
-
Constructor Summary
Constructors Constructor Description CreateClusterTemplateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getClusterTemplateContent()
Getter for clusterTemplateContent.String
getClusterTemplateName()
Getter for clusterTemplateName.String
getDescription()
Getter for description.List<DatahubResourceTagRequest>
getTags()
Getter for tags.int
hashCode()
void
setClusterTemplateContent(String clusterTemplateContent)
Setter for clusterTemplateContent.void
setClusterTemplateName(String clusterTemplateName)
Setter for clusterTemplateName.void
setDescription(String description)
Setter for description.void
setTags(List<DatahubResourceTagRequest> tags)
Setter for tags.String
toString()
-
-
-
Method Detail
-
getClusterTemplateName
public String getClusterTemplateName()
Getter for clusterTemplateName. The name of the cluster template. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
-
setClusterTemplateName
public void setClusterTemplateName(String clusterTemplateName)
Setter for clusterTemplateName. The name of the cluster template. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
-
getClusterTemplateContent
public String getClusterTemplateContent()
Getter for clusterTemplateContent. The cluster template content.
-
setClusterTemplateContent
public void setClusterTemplateContent(String clusterTemplateContent)
Setter for clusterTemplateContent. The cluster template content.
-
getDescription
public String getDescription()
Getter for description. The description of the cluster template. The description can have a maximum of 1000 characters.
-
setDescription
public void setDescription(String description)
Setter for description. The description of the cluster template. The description can have a maximum of 1000 characters.
-
getTags
public List<DatahubResourceTagRequest> getTags()
Getter for tags. Tags to be added to the cluster template.
-
setTags
public void setTags(List<DatahubResourceTagRequest> tags)
Setter for tags. Tags to be added to the cluster template.
-
-