Interface ListRecipeVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRecipeVersionsResponse.Builder,,ListRecipeVersionsResponse> DataBrewResponse.Builder,SdkBuilder<ListRecipeVersionsResponse.Builder,,ListRecipeVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRecipeVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListRecipeVersionsResponse.Builder
extends DataBrewResponse.Builder, SdkPojo, CopyableBuilder<ListRecipeVersionsResponse.Builder,ListRecipeVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that you can use in a subsequent call to retrieve the next set of results.recipes(Collection<Recipe> recipes) A list of versions for the specified recipe.recipes(Consumer<Recipe.Builder>... recipes) A list of versions for the specified recipe.A list of versions for the specified recipe.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.databrew.model.DataBrewResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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 torecipes(List<Recipe>).- 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:
-