Class ComponentDocumentPhase.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.alpha.ComponentDocumentPhase.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentDocumentPhase>
- Enclosing interface:
ComponentDocumentPhase
@Stability(Experimental)
public static final class ComponentDocumentPhase.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentDocumentPhase>
A builder for
ComponentDocumentPhase-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.name(ComponentPhaseName name) Sets the value ofComponentDocumentPhase.getName()steps(List<? extends ComponentDocumentStep> steps) Sets the value ofComponentDocumentPhase.getSteps()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofComponentDocumentPhase.getName()- Parameters:
name- The name of the phase. This parameter is required.- Returns:
this
-
steps
@Stability(Experimental) public ComponentDocumentPhase.Builder steps(List<? extends ComponentDocumentStep> steps) Sets the value ofComponentDocumentPhase.getSteps()- Parameters:
steps- The list of steps to execute to modify or test the build/test instance. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComponentDocumentPhase>- Returns:
- a new instance of
ComponentDocumentPhase - Throws:
NullPointerException- if any required attribute was not provided
-