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.Builderrecipe(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
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeResponse.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
-
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.Builderavoiding the need to create one manually viaRecipe.builder().When the
Consumercompletes,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:
-