Interface GetImageRecipeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetImageRecipeResponse.Builder,
,GetImageRecipeResponse> ImagebuilderResponse.Builder
,SdkBuilder<GetImageRecipeResponse.Builder,
,GetImageRecipeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetImageRecipeResponse
public static interface GetImageRecipeResponse.Builder
extends ImagebuilderResponse.Builder, SdkPojo, CopyableBuilder<GetImageRecipeResponse.Builder,GetImageRecipeResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetImageRecipeResponse.Builder
imageRecipe
(Consumer<ImageRecipe.Builder> imageRecipe) The image recipe object.imageRecipe
(ImageRecipe imageRecipe) The image recipe object.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.
-
imageRecipe
The image recipe object.
- Parameters:
imageRecipe
- The image recipe object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageRecipe
The image recipe object.
This is a convenience method that creates an instance of theImageRecipe.Builder
avoiding the need to create one manually viaImageRecipe.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toimageRecipe(ImageRecipe)
.- Parameters:
imageRecipe
- a consumer that will call methods onImageRecipe.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-