Class ComponentConfiguration.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.ComponentConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentConfiguration>
- Enclosing interface:
ComponentConfiguration
@Stability(Experimental)
public static final class ComponentConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentConfiguration>
A builder for
ComponentConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.component(IComponent component) Sets the value ofComponentConfiguration.getComponent()parameters(Map<String, ? extends ComponentParameterValue> parameters) Sets the value ofComponentConfiguration.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
component
Sets the value ofComponentConfiguration.getComponent()- Parameters:
component- The component to execute as part of the image build. This parameter is required.- Returns:
this
-
parameters
@Stability(Experimental) public ComponentConfiguration.Builder parameters(Map<String, ? extends ComponentParameterValue> parameters) Sets the value ofComponentConfiguration.getParameters()- Parameters:
parameters- The parameters to use when executing the component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComponentConfiguration>- Returns:
- a new instance of
ComponentConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-