Class CfnImageRecipe.ComponentParameterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnImageRecipe.ComponentParameterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImageRecipe.ComponentParameterProperty>
- Enclosing interface:
CfnImageRecipe.ComponentParameterProperty
@Stability(Stable)
public static final class CfnImageRecipe.ComponentParameterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImageRecipe.ComponentParameterProperty>
A builder for
CfnImageRecipe.ComponentParameterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnImageRecipe.ComponentParameterProperty.getName()
Sets the value ofCfnImageRecipe.ComponentParameterProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnImageRecipe.ComponentParameterProperty.getName()
- Parameters:
name
- The name of the component parameter to set. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnImageRecipe.ComponentParameterProperty.Builder value(List<String> value) Sets the value ofCfnImageRecipe.ComponentParameterProperty.getValue()
- Parameters:
value
- Sets the value for the named component parameter. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnImageRecipe.ComponentParameterProperty>
- Returns:
- a new instance of
CfnImageRecipe.ComponentParameterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-