@Stability(value=Experimental) public static final class ImageConfiguration.Builder extends Object implements software.amazon.jsii.Builder<ImageConfiguration>
ImageConfiguration| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ImageConfiguration |
build()
Builds the configured instance.
|
ImageConfiguration.Builder |
environment(Map<String,String> environment)
Sets the value of
ImageConfiguration.getEnvironment() |
ImageConfiguration.Builder |
port(Number port)
Sets the value of
ImageConfiguration.getPort() |
ImageConfiguration.Builder |
startCommand(String startCommand)
Sets the value of
ImageConfiguration.getStartCommand() |
@Stability(value=Experimental) public ImageConfiguration.Builder environment(Map<String,String> environment)
ImageConfiguration.getEnvironment()environment - Environment variables that are available to your running App Runner service.this@Stability(value=Experimental) public ImageConfiguration.Builder port(Number port)
ImageConfiguration.getPort()port - The port that your application listens to in the container.this@Stability(value=Experimental) public ImageConfiguration.Builder startCommand(String startCommand)
ImageConfiguration.getStartCommand()startCommand - An optional command that App Runner runs to start the application in the source image.
If specified, this command overrides the Docker image’s default start command.this@Stability(value=Experimental) public ImageConfiguration build()
build in interface software.amazon.jsii.Builder<ImageConfiguration>ImageConfigurationNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.