Class ContainerRecipeReference.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.ContainerRecipeReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerRecipeReference>
- Enclosing interface:
ContainerRecipeReference
@Stability(Stable)
public static final class ContainerRecipeReference.Builder
extends Object
implements software.amazon.jsii.Builder<ContainerRecipeReference>
A builder for
ContainerRecipeReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.containerRecipeArn
(String containerRecipeArn) Sets the value ofContainerRecipeReference.getContainerRecipeArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerRecipeArn
@Stability(Stable) public ContainerRecipeReference.Builder containerRecipeArn(String containerRecipeArn) Sets the value ofContainerRecipeReference.getContainerRecipeArn()
- Parameters:
containerRecipeArn
- The Arn of the ContainerRecipe resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ContainerRecipeReference>
- Returns:
- a new instance of
ContainerRecipeReference
- Throws:
NullPointerException
- if any required attribute was not provided
-