Interface GetContainerRecipeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetContainerRecipeResponse.Builder,
,GetContainerRecipeResponse> ImagebuilderResponse.Builder
,SdkBuilder<GetContainerRecipeResponse.Builder,
,GetContainerRecipeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetContainerRecipeResponse
public static interface GetContainerRecipeResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetContainerRecipeResponse.Builder,GetContainerRecipeResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerRecipe
(Consumer<ContainerRecipe.Builder> containerRecipe) The container recipe object that is returned.containerRecipe
(ContainerRecipe containerRecipe) The container recipe object that is returned.The request ID that uniquely identifies this request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.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
-
requestId
The request ID that uniquely identifies this request.
- Parameters:
requestIdValue
- The request ID that uniquely identifies this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerRecipe
The container recipe object that is returned.
- Parameters:
containerRecipe
- The container recipe object that is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerRecipe
default GetContainerRecipeResponse.Builder containerRecipe(Consumer<ContainerRecipe.Builder> containerRecipe) The container recipe object that is returned.
This is a convenience method that creates an instance of theContainerRecipe.Builder
avoiding the need to create one manually viaContainerRecipe.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerRecipe(ContainerRecipe)
.- Parameters:
containerRecipe
- a consumer that will call methods onContainerRecipe.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-