@Stability(value=Experimental) public static final class AssetImageProps.Builder extends Object implements software.amazon.jsii.Builder<AssetImageProps>
AssetImageProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AssetImageProps |
build()
Builds the configured instance.
|
AssetImageProps.Builder |
buildArgs(Map<String,String> buildArgs)
Sets the value of
DockerImageAssetOptions.getBuildArgs() |
AssetImageProps.Builder |
exclude(List<String> exclude)
Sets the value of
FileCopyOptions.getExclude() |
AssetImageProps.Builder |
extraHash(String extraHash)
Sets the value of
FileFingerprintOptions.getExtraHash() |
AssetImageProps.Builder |
file(String file)
Sets the value of
DockerImageAssetOptions.getFile() |
AssetImageProps.Builder |
followSymlinks(SymlinkFollowMode followSymlinks)
Sets the value of
FileCopyOptions.getFollowSymlinks() |
AssetImageProps.Builder |
ignoreMode(IgnoreMode ignoreMode)
Sets the value of
FileCopyOptions.getIgnoreMode() |
AssetImageProps.Builder |
target(String target)
Sets the value of
DockerImageAssetOptions.getTarget() |
@Stability(value=Experimental) public AssetImageProps.Builder buildArgs(Map<String,String> buildArgs)
DockerImageAssetOptions.getBuildArgs()buildArgs - Build args to pass to the `docker build` command.
Since Docker build arguments are resolved before deployment, keys and
values cannot refer to unresolved tokens (such as lambda.functionArn or
queue.queueUrl).this@Stability(value=Experimental) public AssetImageProps.Builder file(String file)
DockerImageAssetOptions.getFile()file - Path to the Dockerfile (relative to the directory).this@Stability(value=Experimental) public AssetImageProps.Builder target(String target)
DockerImageAssetOptions.getTarget()target - Docker target to build to.this@Stability(value=Experimental) public AssetImageProps.Builder extraHash(String extraHash)
FileFingerprintOptions.getExtraHash()extraHash - Extra information to encode into the fingerprint (e.g. build instructions and other inputs).this@Stability(value=Experimental) public AssetImageProps.Builder exclude(List<String> exclude)
FileCopyOptions.getExclude()exclude - Glob patterns to exclude from the copy.this@Stability(value=Experimental) public AssetImageProps.Builder followSymlinks(SymlinkFollowMode followSymlinks)
FileCopyOptions.getFollowSymlinks()followSymlinks - A strategy for how to handle symlinks.this@Stability(value=Experimental) public AssetImageProps.Builder ignoreMode(IgnoreMode ignoreMode)
FileCopyOptions.getIgnoreMode()ignoreMode - The ignore behavior to use for exclude patterns.this@Stability(value=Experimental) public AssetImageProps build()
build in interface software.amazon.jsii.Builder<AssetImageProps>AssetImagePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.