Class CreateClusterDefinitionRequest

java.lang.Object
com.cloudera.cdp.datahub.model.CreateClusterDefinitionRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class CreateClusterDefinitionRequest extends Object
Request object for create cluster definition request.
  • Constructor Details

    • CreateClusterDefinitionRequest

      public CreateClusterDefinitionRequest()
  • Method Details

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