@Stability(value=Experimental) public static final class DockerImageAssetOptions.Builder extends Object implements software.amazon.jsii.Builder<DockerImageAssetOptions>
DockerImageAssetOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DockerImageAssetOptions |
build()
Builds the configured instance.
|
DockerImageAssetOptions.Builder |
buildArgs(Map<String,String> buildArgs)
Sets the value of
DockerImageAssetOptions.getBuildArgs() |
DockerImageAssetOptions.Builder |
exclude(List<String> exclude)
Sets the value of
FileCopyOptions.getExclude() |
DockerImageAssetOptions.Builder |
extraHash(String extraHash)
Sets the value of
FileFingerprintOptions.getExtraHash() |
DockerImageAssetOptions.Builder |
file(String file)
Sets the value of
DockerImageAssetOptions.getFile() |
DockerImageAssetOptions.Builder |
followSymlinks(SymlinkFollowMode followSymlinks)
Sets the value of
FileCopyOptions.getFollowSymlinks() |
DockerImageAssetOptions.Builder |
ignoreMode(IgnoreMode ignoreMode)
Sets the value of
FileCopyOptions.getIgnoreMode() |
DockerImageAssetOptions.Builder |
target(String target)
Sets the value of
DockerImageAssetOptions.getTarget() |
@Stability(value=Experimental) public DockerImageAssetOptions.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 DockerImageAssetOptions.Builder file(String file)
DockerImageAssetOptions.getFile()file - Path to the Dockerfile (relative to the directory).this@Stability(value=Experimental) public DockerImageAssetOptions.Builder target(String target)
DockerImageAssetOptions.getTarget()target - Docker target to build to.this@Stability(value=Experimental) public DockerImageAssetOptions.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 DockerImageAssetOptions.Builder exclude(List<String> exclude)
FileCopyOptions.getExclude()exclude - Glob patterns to exclude from the copy.this@Stability(value=Experimental) public DockerImageAssetOptions.Builder followSymlinks(SymlinkFollowMode followSymlinks)
FileCopyOptions.getFollowSymlinks()followSymlinks - A strategy for how to handle symlinks.this@Stability(value=Experimental) public DockerImageAssetOptions.Builder ignoreMode(IgnoreMode ignoreMode)
FileCopyOptions.getIgnoreMode()ignoreMode - The ignore behavior to use for exclude patterns.this@Stability(value=Experimental) public DockerImageAssetOptions build()
build in interface software.amazon.jsii.Builder<DockerImageAssetOptions>DockerImageAssetOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.