Class CfnPipelinePropsMixin.OutputArtifactProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codepipeline.CfnPipelinePropsMixin.OutputArtifactProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.OutputArtifactProperty>
- Enclosing interface:
CfnPipelinePropsMixin.OutputArtifactProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.OutputArtifactProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.OutputArtifactProperty>
A builder for
CfnPipelinePropsMixin.OutputArtifactProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.OutputArtifactProperty.getFiles()Sets the value ofCfnPipelinePropsMixin.OutputArtifactProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
files
@Stability(Stable) public CfnPipelinePropsMixin.OutputArtifactProperty.Builder files(List<String> files) Sets the value ofCfnPipelinePropsMixin.OutputArtifactProperty.getFiles()- Parameters:
files- The files that you want to associate with the output artifact that will be exported from the compute action.- Returns:
this
-
name
Sets the value ofCfnPipelinePropsMixin.OutputArtifactProperty.getName()- Parameters:
name- The name of the output of an artifact, such as "My App". The output artifact name must exactly match the input artifact declared for a downstream action. However, the downstream action's input artifact does not have to be the next action in strict sequence from the action that provided the output artifact. Actions in parallel can declare different output artifacts, which are in turn consumed by different following actions.Output artifact names must be unique within a pipeline.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.OutputArtifactProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.OutputArtifactProperty - Throws:
NullPointerException- if any required attribute was not provided
-