@Stability(value=Experimental) public static final class CodeConfigurationValues.Builder extends Object implements software.amazon.jsii.Builder<CodeConfigurationValues>
CodeConfigurationValues| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CodeConfigurationValues |
build()
Builds the configured instance.
|
CodeConfigurationValues.Builder |
buildCommand(String buildCommand)
Sets the value of
CodeConfigurationValues.getBuildCommand() |
CodeConfigurationValues.Builder |
environment(Map<String,String> environment)
Sets the value of
CodeConfigurationValues.getEnvironment() |
CodeConfigurationValues.Builder |
port(String port)
Sets the value of
CodeConfigurationValues.getPort() |
CodeConfigurationValues.Builder |
runtime(Runtime runtime)
Sets the value of
CodeConfigurationValues.getRuntime() |
CodeConfigurationValues.Builder |
startCommand(String startCommand)
Sets the value of
CodeConfigurationValues.getStartCommand() |
@Stability(value=Experimental) public CodeConfigurationValues.Builder runtime(Runtime runtime)
CodeConfigurationValues.getRuntime()runtime - A runtime environment type for building and running an App Runner service. This parameter is required.
It represents
a programming language runtime.this@Stability(value=Experimental) public CodeConfigurationValues.Builder buildCommand(String buildCommand)
CodeConfigurationValues.getBuildCommand()buildCommand - The command App Runner runs to build your application.this@Stability(value=Experimental) public CodeConfigurationValues.Builder environment(Map<String,String> environment)
CodeConfigurationValues.getEnvironment()environment - The environment variables that are available to your running App Runner service.this@Stability(value=Experimental) public CodeConfigurationValues.Builder port(String port)
CodeConfigurationValues.getPort()port - The port that your application listens to in the container.this@Stability(value=Experimental) public CodeConfigurationValues.Builder startCommand(String startCommand)
CodeConfigurationValues.getStartCommand()startCommand - The command App Runner runs to start your application.this@Stability(value=Experimental) public CodeConfigurationValues build()
build in interface software.amazon.jsii.Builder<CodeConfigurationValues>CodeConfigurationValuesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.