Interface ListRecipesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecipesResponse.Builder,ListRecipesResponse>,PersonalizeResponse.Builder,SdkBuilder<ListRecipesResponse.Builder,ListRecipesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRecipesResponse
public static interface ListRecipesResponse.Builder extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<ListRecipesResponse.Builder,ListRecipesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecipesResponse.BuildernextToken(String nextToken)A token for getting the next set of recipes.ListRecipesResponse.Builderrecipes(Collection<RecipeSummary> recipes)The list of available recipes.ListRecipesResponse.Builderrecipes(Consumer<RecipeSummary.Builder>... recipes)The list of available recipes.ListRecipesResponse.Builderrecipes(RecipeSummary... recipes)The list of available recipes.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
recipes
ListRecipesResponse.Builder recipes(Collection<RecipeSummary> recipes)
The list of available recipes.
- Parameters:
recipes- The list of available recipes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
ListRecipesResponse.Builder recipes(RecipeSummary... recipes)
The list of available recipes.
- Parameters:
recipes- The list of available recipes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
ListRecipesResponse.Builder recipes(Consumer<RecipeSummary.Builder>... recipes)
The list of available recipes.
This is a convenience method that creates an instance of theRecipeSummary.Builderavoiding the need to create one manually viaRecipeSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recipes(List.) - Parameters:
recipes- a consumer that will call methods onRecipeSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#recipes(java.util.Collection)
-
nextToken
ListRecipesResponse.Builder nextToken(String nextToken)
A token for getting the next set of recipes.
- Parameters:
nextToken- A token for getting the next set of recipes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-