Package com.cloudera.cdp.datahub.model
Class CreateRecipeRequest
- java.lang.Object
-
- com.cloudera.cdp.datahub.model.CreateRecipeRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-06-01T14:27:19.310-07:00") public class CreateRecipeRequest extends Object
Request object for create recipe request.
-
-
Constructor Summary
Constructors Constructor Description CreateRecipeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDescription()
Getter for description.String
getRecipeContent()
Getter for recipeContent.String
getRecipeName()
Getter for recipeName.String
getType()
Getter for type.int
hashCode()
void
setDescription(String description)
Setter for description.void
setRecipeContent(String recipeContent)
Setter for recipeContent.void
setRecipeName(String recipeName)
Setter for recipeName.void
setType(String type)
Setter for type.String
toString()
-
-
-
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.
-
-