Class CfnContainerRecipe.ComponentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnContainerRecipe.ComponentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerRecipe.ComponentConfigurationProperty>
- Enclosing interface:
CfnContainerRecipe.ComponentConfigurationProperty
@Stability(Stable)
public static final class CfnContainerRecipe.ComponentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerRecipe.ComponentConfigurationProperty>
A builder for
CfnContainerRecipe.ComponentConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.componentArn
(String componentArn) Sets the value ofCfnContainerRecipe.ComponentConfigurationProperty.getComponentArn()
parameters
(List<? extends Object> parameters) Sets the value ofCfnContainerRecipe.ComponentConfigurationProperty.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnContainerRecipe.ComponentConfigurationProperty.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentArn
@Stability(Stable) public CfnContainerRecipe.ComponentConfigurationProperty.Builder componentArn(String componentArn) Sets the value ofCfnContainerRecipe.ComponentConfigurationProperty.getComponentArn()
- Parameters:
componentArn
- The Amazon Resource Name (ARN) of the component.- Returns:
this
-
parameters
@Stability(Stable) public CfnContainerRecipe.ComponentConfigurationProperty.Builder parameters(IResolvable parameters) Sets the value ofCfnContainerRecipe.ComponentConfigurationProperty.getParameters()
- Parameters:
parameters
- A group of parameter settings that Image Builder uses to configure the component for a specific recipe.- Returns:
this
-
parameters
@Stability(Stable) public CfnContainerRecipe.ComponentConfigurationProperty.Builder parameters(List<? extends Object> parameters) Sets the value ofCfnContainerRecipe.ComponentConfigurationProperty.getParameters()
- Parameters:
parameters
- A group of parameter settings that Image Builder uses to configure the component for a specific recipe.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnContainerRecipe.ComponentConfigurationProperty>
- Returns:
- a new instance of
CfnContainerRecipe.ComponentConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-