Package software.amazon.awscdk.assets
Class StagingProps.Builder
java.lang.Object
software.amazon.awscdk.assets.StagingProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StagingProps>
- Enclosing interface:
- StagingProps
@Stability(Deprecated)
@Deprecated
public static final class StagingProps.Builder
extends Object
implements software.amazon.jsii.Builder<StagingProps>
Deprecated.
A builder for
StagingProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.Deprecated.Deprecated.follow(FollowMode follow) Deprecated.use `followSymlinks` insteadignoreMode(IgnoreMode ignoreMode) Deprecated.sourcePath(String sourcePath) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
sourcePath
Deprecated.Sets the value ofStagingProps.getSourcePath()- Parameters:
sourcePath- Local file or directory to stage. This parameter is required.- Returns:
this
-
extraHash
Deprecated.Sets the value ofFingerprintOptions.getExtraHash()- Parameters:
extraHash- Extra information to encode into the fingerprint (e.g. build instructions and other inputs).- Returns:
this
-
exclude
Deprecated.Sets the value ofCopyOptions.getExclude()- Parameters:
exclude- Glob patterns to exclude from the copy.- Returns:
this
-
follow
Deprecated.use `followSymlinks` insteadSets the value ofCopyOptions.getFollow()- Parameters:
follow- A strategy for how to handle symlinks.- Returns:
this
-
ignoreMode
Deprecated.Sets the value ofCopyOptions.getIgnoreMode()- Parameters:
ignoreMode- The ignore behavior to use for exclude patterns.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StagingProps>- Returns:
- a new instance of
StagingProps - Throws:
NullPointerException- if any required attribute was not provided
-