@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecipesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecipesResult() |
Modifier and Type | Method and Description |
---|---|
ListRecipesResult |
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 recipes that are defined.
|
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 recipes that are defined.
|
String |
toString()
Returns a string representation of this object.
|
ListRecipesResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
ListRecipesResult |
withRecipes(Collection<Recipe> recipes)
A list of recipes that are defined.
|
ListRecipesResult |
withRecipes(Recipe... recipes)
A list of recipes that are defined.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Recipe> getRecipes()
A list of recipes that are defined.
public void setRecipes(Collection<Recipe> recipes)
A list of recipes that are defined.
recipes
- A list of recipes that are defined.public ListRecipesResult withRecipes(Recipe... recipes)
A list of recipes that are defined.
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 recipes that are defined.public ListRecipesResult withRecipes(Collection<Recipe> recipes)
A list of recipes that are defined.
recipes
- A list of recipes that are defined.public 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 ListRecipesResult 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 String toString()
toString
in class Object
Object.toString()
public ListRecipesResult clone()