@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecipeVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListRecipeVersionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListRecipeVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
|
List<Recipe> |
getRecipes()
A list of versions for the specified recipe.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
void |
setRecipes(Collection<Recipe> recipes)
A list of versions for the specified recipe.
|
String |
toString()
Returns a string representation of this object.
|
ListRecipeVersionsResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
ListRecipeVersionsResult |
withRecipes(Collection<Recipe> recipes)
A list of versions for the specified recipe.
|
ListRecipeVersionsResult |
withRecipes(Recipe... recipes)
A list of versions for the specified recipe.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken - A token that you can use in a subsequent call to retrieve the next set of results.public String getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
public ListRecipeVersionsResult withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken - A token that you can use in a subsequent call to retrieve the next set of results.public List<Recipe> getRecipes()
A list of versions for the specified recipe.
public void setRecipes(Collection<Recipe> recipes)
A list of versions for the specified recipe.
recipes - A list of versions for the specified recipe.public ListRecipeVersionsResult withRecipes(Recipe... recipes)
A list of versions for the specified recipe.
NOTE: This method appends the values to the existing list (if any). Use
setRecipes(java.util.Collection) or withRecipes(java.util.Collection) if you want to override
the existing values.
recipes - A list of versions for the specified recipe.public ListRecipeVersionsResult withRecipes(Collection<Recipe> recipes)
A list of versions for the specified recipe.
recipes - A list of versions for the specified recipe.public String toString()
toString in class ObjectObject.toString()public ListRecipeVersionsResult clone()