Class CreateClusterDefinitionRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-03T22:29:40.606-07:00")
    public class CreateClusterDefinitionRequest
    extends Object
    Request object for create cluster definition request.
    • Constructor Detail

      • CreateClusterDefinitionRequest

        public CreateClusterDefinitionRequest()
    • Method Detail

      • getClusterDefinitionName

        public String getClusterDefinitionName()
        Getter for clusterDefinitionName. The name of the cluster definition. 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.
      • setClusterDefinitionName

        public void setClusterDefinitionName​(String clusterDefinitionName)
        Setter for clusterDefinitionName. The name of the cluster definition. 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.
      • getWorkloadTemplate

        public String getWorkloadTemplate()
        Getter for workloadTemplate. The cluster creation JSON. This must contain the name of a running environment.
      • setWorkloadTemplate

        public void setWorkloadTemplate​(String workloadTemplate)
        Setter for workloadTemplate. The cluster creation JSON. This must contain the name of a running environment.
      • getDescription

        public String getDescription()
        Getter for description. The description of the cluster definition. The description can have a maximum of 1000 characters.
      • setDescription

        public void setDescription​(String description)
        Setter for description. The description of the cluster definition. The description can have a maximum of 1000 characters.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object