@Stability(value=Experimental) 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() |
@Stability(value=Experimental) public CodeImageConfig.Builder imageUri(String imageUri)
CodeImageConfig.getImageUri()imageUri - URI to the Docker image. This parameter is required.this@Stability(value=Experimental) 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=Experimental) 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=Experimental) public CodeImageConfig build()
build in interface software.amazon.jsii.Builder<CodeImageConfig>CodeImageConfigNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.