Interface ListRecipeVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecipeVersionsResponse.Builder,ListRecipeVersionsResponse>,DataBrewResponse.Builder,SdkBuilder<ListRecipeVersionsResponse.Builder,ListRecipeVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRecipeVersionsResponse
public static interface ListRecipeVersionsResponse.Builder extends DataBrewResponse.Builder, SdkPojo, CopyableBuilder<ListRecipeVersionsResponse.Builder,ListRecipeVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecipeVersionsResponse.BuildernextToken(String nextToken)A token that you can use in a subsequent call to retrieve the next set of results.ListRecipeVersionsResponse.Builderrecipes(Collection<Recipe> recipes)A list of versions for the specified recipe.ListRecipeVersionsResponse.Builderrecipes(Consumer<Recipe.Builder>... recipes)A list of versions for the specified recipe.ListRecipeVersionsResponse.Builderrecipes(Recipe... recipes)A list of versions for the specified recipe.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.databrew.model.DataBrewResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListRecipeVersionsResponse.Builder nextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
- Parameters:
nextToken- A token that you can use in a subsequent call to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
ListRecipeVersionsResponse.Builder recipes(Collection<Recipe> recipes)
A list of versions for the specified recipe.
- Parameters:
recipes- A list of versions for the specified recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
ListRecipeVersionsResponse.Builder recipes(Recipe... recipes)
A list of versions for the specified recipe.
- Parameters:
recipes- A list of versions for the specified recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipes
ListRecipeVersionsResponse.Builder recipes(Consumer<Recipe.Builder>... recipes)
A list of versions for the specified recipe.
This is a convenience method that creates an instance of theRecipe.Builderavoiding the need to create one manually viaRecipe.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 onRecipe.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#recipes(java.util.Collection)
-
-