@Stability(value=Experimental) public static final class DockerImageAssetProps.Builder extends Object
DockerImageAssetProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DockerImageAssetProps |
build()
Builds the configured instance.
|
DockerImageAssetProps.Builder |
withBuildArgs(Map<String,String> value)
Sets the value of BuildArgs
|
DockerImageAssetProps.Builder |
withDirectory(String value)
Sets the value of Directory
|
DockerImageAssetProps.Builder |
withExclude(List<String> value)
Sets the value of Exclude
|
DockerImageAssetProps.Builder |
withFollow(software.amazon.awscdk.assets.FollowMode value)
Sets the value of Follow
|
DockerImageAssetProps.Builder |
withRepositoryName(String value)
Sets the value of RepositoryName
|
@Stability(value=Experimental) public DockerImageAssetProps.Builder withDirectory(String value)
value - The directory where the Dockerfile is stored.this@Stability(value=Experimental) public DockerImageAssetProps.Builder withBuildArgs(@Nullable Map<String,String> value)
value - Build args to pass to the `docker build` command.this@Stability(value=Experimental) public DockerImageAssetProps.Builder withRepositoryName(@Nullable String value)
value - ECR repository name.this@Stability(value=Experimental) public DockerImageAssetProps.Builder withExclude(@Nullable List<String> value)
value - Glob patterns to exclude from the copy.this@Stability(value=Experimental) public DockerImageAssetProps.Builder withFollow(@Nullable software.amazon.awscdk.assets.FollowMode value)
value - A strategy for how to handle symlinks.this@Stability(value=Experimental) public DockerImageAssetProps build()
DockerImageAssetPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.