Interface DescribeRecipeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeRecipeResponse.Builder,
,DescribeRecipeResponse> PersonalizeResponse.Builder
,SdkBuilder<DescribeRecipeResponse.Builder,
,DescribeRecipeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeRecipeResponse
public static interface DescribeRecipeResponse.Builder
extends PersonalizeResponse.Builder, SdkPojo, CopyableBuilder<DescribeRecipeResponse.Builder,DescribeRecipeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeRecipeResponse.Builder
recipe
(Consumer<Recipe.Builder> recipe) An object that describes the recipe.An object that describes the recipe.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 Details
-
recipe
An object that describes the recipe.
- Parameters:
recipe
- An object that describes the recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipe
An object that describes the recipe.
This is a convenience method that creates an instance of theRecipe.Builder
avoiding the need to create one manually viaRecipe.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecipe(Recipe)
.- Parameters:
recipe
- 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:
-