@Stability(value=Stable) public static final class CodeImageConfig.Builder extends Object implements software.amazon.jsii.Builder<CodeImageConfig>
CodeImageConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeImageConfig |
build()
Builds the configured instance.
|
CodeImageConfig.Builder |
cmd(List<String> cmd)
Sets the value of
CodeImageConfig.getCmd() |
CodeImageConfig.Builder |
entrypoint(List<String> entrypoint)
Sets the value of
CodeImageConfig.getEntrypoint() |
CodeImageConfig.Builder |
imageUri(String imageUri)
Sets the value of
CodeImageConfig.getImageUri() |
CodeImageConfig.Builder |
workingDirectory(String workingDirectory)
Sets the value of
CodeImageConfig.getWorkingDirectory() |
@Stability(value=Stable) public CodeImageConfig.Builder imageUri(String imageUri)
CodeImageConfig.getImageUri()imageUri - URI to the Docker image. This parameter is required.this@Stability(value=Stable) public CodeImageConfig.Builder cmd(List<String> cmd)
CodeImageConfig.getCmd()cmd - Specify or override the CMD on the specified Docker image or Dockerfile.
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ].this@Stability(value=Stable) public CodeImageConfig.Builder entrypoint(List<String> entrypoint)
CodeImageConfig.getEntrypoint()entrypoint - Specify or override the ENTRYPOINT on the specified Docker image or Dockerfile.
An ENTRYPOINT allows you to configure a container that will run as an executable.
This needs to be in the 'exec form', viz., [ 'executable', 'param1', 'param2' ].this@Stability(value=Stable) public CodeImageConfig.Builder workingDirectory(String workingDirectory)
CodeImageConfig.getWorkingDirectory()workingDirectory - Specify or override the WORKDIR on the specified Docker image or Dockerfile.
A WORKDIR allows you to configure the working directory the container will use.this@Stability(value=Stable) public CodeImageConfig build()
build in interface software.amazon.jsii.Builder<CodeImageConfig>CodeImageConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.