@Stability(value=Experimental) public static final class BundlingOptions.Builder extends Object implements software.amazon.jsii.Builder<BundlingOptions>
BundlingOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BundlingOptions |
build()
Builds the configured instance.
|
BundlingOptions.Builder |
command(List<String> command)
Sets the value of
BundlingOptions.getCommand() |
BundlingOptions.Builder |
environment(Map<String,String> environment)
Sets the value of
BundlingOptions.getEnvironment() |
BundlingOptions.Builder |
image(BundlingDockerImage image)
Sets the value of
BundlingOptions.getImage() |
BundlingOptions.Builder |
volumes(List<DockerVolume> volumes)
Sets the value of
BundlingOptions.getVolumes() |
BundlingOptions.Builder |
workingDirectory(String workingDirectory)
Sets the value of
BundlingOptions.getWorkingDirectory() |
@Stability(value=Experimental) public BundlingOptions.Builder image(BundlingDockerImage image)
BundlingOptions.getImage()image - The Docker image where the command will run. This parameter is required.this@Stability(value=Experimental) public BundlingOptions.Builder command(List<String> command)
BundlingOptions.getCommand()command - The command to run in the container.this@Stability(value=Experimental) public BundlingOptions.Builder environment(Map<String,String> environment)
BundlingOptions.getEnvironment()environment - The environment variables to pass to the container.this@Stability(value=Experimental) public BundlingOptions.Builder volumes(List<DockerVolume> volumes)
BundlingOptions.getVolumes()volumes - Additional Docker volumes to mount.this@Stability(value=Experimental) public BundlingOptions.Builder workingDirectory(String workingDirectory)
BundlingOptions.getWorkingDirectory()workingDirectory - Working directory inside the container.this@Stability(value=Experimental) public BundlingOptions build()
build in interface software.amazon.jsii.Builder<BundlingOptions>BundlingOptionsNullPointerException - if any required attribute was not providedCopyright © 2020. All rights reserved.