Class CfnPipeline.InputArtifactProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.InputArtifactProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.InputArtifactProperty>
- Enclosing interface:
CfnPipeline.InputArtifactProperty
@Stability(Stable)
public static final class CfnPipeline.InputArtifactProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.InputArtifactProperty>
A builder for
CfnPipeline.InputArtifactProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPipeline.InputArtifactProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPipeline.InputArtifactProperty.getName()
- Parameters:
name
- The name of the artifact to be worked on (for example, "My App"). This parameter is required. Artifacts are the files that are worked on by actions in the pipeline. See the action configuration for each action for details about artifact parameters. For example, the S3 source action input artifact is a file name (or file path), and the files are generally provided as a ZIP file. Example artifact name: SampleApp_Windows.zipThe input artifact of an action must exactly match the output artifact declared in a preceding action, but the 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.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.InputArtifactProperty>
- Returns:
- a new instance of
CfnPipeline.InputArtifactProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-