Class CreateRecipeRequest

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

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

    • CreateRecipeRequest

      public CreateRecipeRequest()
  • Method Details

    • getRecipeName

      public String getRecipeName()
      Getter for recipeName. The name of the recipe. 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.
    • setRecipeName

      public void setRecipeName(String recipeName)
      Setter for recipeName. The name of the recipe. 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.
    • getRecipeContent

      public String getRecipeContent()
      Getter for recipeContent. The content of the recipe.
    • setRecipeContent

      public void setRecipeContent(String recipeContent)
      Setter for recipeContent. The content of the recipe.
    • getType

      public String getType()
      Getter for type. The type of recipe. Supported values are : PRE_CLOUDERA_MANAGER_START, PRE_TERMINATION, POST_CLOUDERA_MANAGER_START, POST_CLUSTER_INSTALL.
    • setType

      public void setType(String type)
      Setter for type. The type of recipe. Supported values are : PRE_CLOUDERA_MANAGER_START, PRE_TERMINATION, POST_CLOUDERA_MANAGER_START, POST_CLUSTER_INSTALL.
    • getDescription

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

      public void setDescription(String description)
      Setter for description. The description of the recipe. 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