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>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      @Stability(Stable) public CfnPipeline.InputArtifactProperty.Builder name(String name)
      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.zip

      The 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

      @Stability(Stable) public CfnPipeline.InputArtifactProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPipeline.InputArtifactProperty>
      Returns:
      a new instance of CfnPipeline.InputArtifactProperty
      Throws:
      NullPointerException - if any required attribute was not provided