Package software.amazon.awscdk.pipelines
Class PipelineBaseProps.Builder
java.lang.Object
software.amazon.awscdk.pipelines.PipelineBaseProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PipelineBaseProps>
- Enclosing interface:
PipelineBaseProps
@Stability(Stable)
public static final class PipelineBaseProps.Builder
extends Object
implements software.amazon.jsii.Builder<PipelineBaseProps>
A builder for
PipelineBaseProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.synth
(IFileSetProducer synth) Sets the value ofPipelineBaseProps.getSynth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
synth
Sets the value ofPipelineBaseProps.getSynth()
- Parameters:
synth
- The build step that produces the CDK Cloud Assembly. This parameter is required. The primary output of this step needs to be thecdk.out
directory generated by thecdk synth
command.If you use a
ShellStep
here and you don't configure an output directory, the output directory will automatically be assumed to becdk.out
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PipelineBaseProps>
- Returns:
- a new instance of
PipelineBaseProps
- Throws:
NullPointerException
- if any required attribute was not provided
-