@Stability(value=Stable) public static final class DockerImageAssetSource.Builder extends Object
DockerImageAssetSource| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DockerImageAssetSource |
build()
Builds the configured instance.
|
DockerImageAssetSource.Builder |
directoryName(String directoryName)
Sets the value of DirectoryName
|
DockerImageAssetSource.Builder |
dockerBuildArgs(Map<String,String> dockerBuildArgs)
Sets the value of DockerBuildArgs
|
DockerImageAssetSource.Builder |
dockerBuildTarget(String dockerBuildTarget)
Sets the value of DockerBuildTarget
|
DockerImageAssetSource.Builder |
repositoryName(String repositoryName)
Sets the value of RepositoryName
|
DockerImageAssetSource.Builder |
sourceHash(String sourceHash)
Sets the value of SourceHash
|
@Stability(value=Stable) public DockerImageAssetSource.Builder directoryName(String directoryName)
directoryName - The directory where the Dockerfile is stored, must be relative to the cloud assembly root. This parameter is required.this@Stability(value=Stable) public DockerImageAssetSource.Builder sourceHash(String sourceHash)
sourceHash - The hash of the contents of the docker build context. This parameter is required.this@Stability(value=Stable) public DockerImageAssetSource.Builder dockerBuildArgs(Map<String,String> dockerBuildArgs)
dockerBuildArgs - Build args to pass to the `docker build` command.this@Stability(value=Stable) public DockerImageAssetSource.Builder dockerBuildTarget(String dockerBuildTarget)
dockerBuildTarget - Docker target to build to.this@Stability(value=Stable) public DockerImageAssetSource.Builder repositoryName(String repositoryName)
repositoryName - ECR repository name.this@Stability(value=Stable) public DockerImageAssetSource build()
DockerImageAssetSourceNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.