Class CreateRecipeRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:44.965-07:00")
    public class CreateRecipeRequest
    extends Object
    Request object for create recipe request.
    • Constructor Detail

      • CreateRecipeRequest

        public CreateRecipeRequest()
    • Method Detail

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

        public int hashCode()
        Overrides:
        hashCode in class Object