Package software.amazon.awscdk.pipelines
Class WaveProps.Builder
java.lang.Object
software.amazon.awscdk.pipelines.WaveProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<WaveProps>
- Enclosing interface:
- WaveProps
@Stability(Stable)
public static final class WaveProps.Builder
extends Object
implements software.amazon.jsii.Builder<WaveProps>
A builder for
WaveProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofWaveProps.getPost()
Sets the value ofWaveProps.getPre()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
post
Sets the value ofWaveProps.getPost()
- Parameters:
post
- Additional steps to run after all of the stages in the wave.- Returns:
this
-
pre
Sets the value ofWaveProps.getPre()
- Parameters:
pre
- Additional steps to run before any of the stages in the wave.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<WaveProps>
- Returns:
- a new instance of
WaveProps
- Throws:
NullPointerException
- if any required attribute was not provided
-