@Stability(value=Experimental) public static final class DockerImageSource.Builder extends Object implements software.amazon.jsii.Builder<DockerImageSource>
DockerImageSource| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DockerImageSource |
build()
Builds the configured instance.
|
DockerImageSource.Builder |
directory(String directory)
Sets the value of
DockerImageSource.getDirectory() |
DockerImageSource.Builder |
dockerBuildArgs(Map<String,String> dockerBuildArgs)
Sets the value of
DockerImageSource.getDockerBuildArgs() |
DockerImageSource.Builder |
dockerBuildTarget(String dockerBuildTarget)
Sets the value of
DockerImageSource.getDockerBuildTarget() |
DockerImageSource.Builder |
dockerFile(String dockerFile)
Sets the value of
DockerImageSource.getDockerFile() |
DockerImageSource.Builder |
executable(List<String> executable)
Sets the value of
DockerImageSource.getExecutable() |
@Stability(value=Experimental) public DockerImageSource.Builder directory(String directory)
DockerImageSource.getDirectory()directory - The directory containing the Docker image build instructions.
This path is relative to the asset manifest location.this@Stability(value=Experimental) public DockerImageSource.Builder dockerBuildArgs(Map<String,String> dockerBuildArgs)
DockerImageSource.getDockerBuildArgs()dockerBuildArgs - Additional build arguments.
Only allowed when directory is set.this@Stability(value=Experimental) public DockerImageSource.Builder dockerBuildTarget(String dockerBuildTarget)
DockerImageSource.getDockerBuildTarget()dockerBuildTarget - Target build stage in a Dockerfile with multiple build stages.
Only allowed when directory is set.this@Stability(value=Experimental) public DockerImageSource.Builder dockerFile(String dockerFile)
DockerImageSource.getDockerFile()dockerFile - The name of the file with build instructions.
Only allowed when directory is set.this@Stability(value=Experimental) public DockerImageSource.Builder executable(List<String> executable)
DockerImageSource.getExecutable()executable - A command-line executable that returns the name of a local Docker image on stdout after being run.this@Stability(value=Experimental) public DockerImageSource build()
build in interface software.amazon.jsii.Builder<DockerImageSource>DockerImageSourceNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.