Class Staging.Builder

java.lang.Object
software.amazon.awscdk.assets.Staging.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Staging>
Enclosing class:
Staging

@Stability(Deprecated) @Deprecated public static final class Staging.Builder extends Object implements software.amazon.jsii.Builder<Staging>
Deprecated.
(deprecated) A fluent builder for Staging.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static Staging.Builder create(Construct scope, String id)
      Deprecated.
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of Staging.Builder.
    • exclude

      @Stability(Deprecated) @Deprecated public Staging.Builder exclude(List<String> exclude)
      Deprecated.
      (deprecated) Glob patterns to exclude from the copy.

      Default: nothing is excluded

      Parameters:
      exclude - Glob patterns to exclude from the copy. This parameter is required.
      Returns:
      this
    • follow

      @Stability(Deprecated) @Deprecated public Staging.Builder follow(FollowMode follow)
      Deprecated.
      use followSymlinks instead
      (deprecated) A strategy for how to handle symlinks.

      Default: Never

      Parameters:
      follow - A strategy for how to handle symlinks. This parameter is required.
      Returns:
      this
    • ignoreMode

      @Stability(Deprecated) @Deprecated public Staging.Builder ignoreMode(IgnoreMode ignoreMode)
      Deprecated.
      (deprecated) The ignore behavior to use for exclude patterns.

      Default: - GLOB for file assets, DOCKER or GLOB for docker assets depending on whether the '

      Parameters:
      ignoreMode - The ignore behavior to use for exclude patterns. This parameter is required.
      Returns:
      this
    • extraHash

      @Stability(Deprecated) @Deprecated public Staging.Builder extraHash(String extraHash)
      Deprecated.
      (deprecated) Extra information to encode into the fingerprint (e.g. build instructions and other inputs).

      Default: - hash is only based on source content

      Parameters:
      extraHash - Extra information to encode into the fingerprint (e.g. build instructions and other inputs). This parameter is required.
      Returns:
      this
    • sourcePath

      @Stability(Deprecated) @Deprecated public Staging.Builder sourcePath(String sourcePath)
      Deprecated.
      (deprecated) Local file or directory to stage.

      Parameters:
      sourcePath - Local file or directory to stage. This parameter is required.
      Returns:
      this
    • build

      @Stability(Deprecated) @Deprecated public Staging build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<Staging>
      Returns:
      a newly built instance of Staging.