@Stability(value=Stable) public static final class AssetStagingProps.Builder extends Object
AssetStagingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AssetStagingProps |
build()
Builds the configured instance.
|
AssetStagingProps.Builder |
exclude(List<String> exclude)
Sets the value of
CopyOptions.getExclude() |
AssetStagingProps.Builder |
extraHash(String extraHash)
Sets the value of
FingerprintOptions.getExtraHash() |
AssetStagingProps.Builder |
follow(SymlinkFollowMode follow)
Sets the value of
CopyOptions.getFollow() |
AssetStagingProps.Builder |
sourcePath(String sourcePath)
Sets the value of
AssetStagingProps.getSourcePath() |
@Stability(value=Stable) public AssetStagingProps.Builder sourcePath(String sourcePath)
AssetStagingProps.getSourcePath()sourcePath - The source file or directory to copy from. This parameter is required.this@Stability(value=Stable) public AssetStagingProps.Builder extraHash(String extraHash)
FingerprintOptions.getExtraHash()extraHash - Extra information to encode into the fingerprint (e.g. build instructions and other inputs).this@Stability(value=Stable) public AssetStagingProps.Builder exclude(List<String> exclude)
CopyOptions.getExclude()exclude - Glob patterns to exclude from the copy.this@Stability(value=Stable) public AssetStagingProps.Builder follow(SymlinkFollowMode follow)
CopyOptions.getFollow()follow - A strategy for how to handle symlinks.this@Stability(value=Stable) public AssetStagingProps build()
AssetStagingPropsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.