@Stability(value=Experimental) public static final class DevEnvironmentOptions.Builder extends Object implements software.amazon.jsii.Builder<DevEnvironmentOptions>
DevEnvironmentOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DevEnvironmentOptions |
build()
Builds the configured instance.
|
DevEnvironmentOptions.Builder |
dockerImage(DevEnvironmentDockerImage dockerImage)
Sets the value of
DevEnvironmentOptions.getDockerImage() |
DevEnvironmentOptions.Builder |
ports(List<String> ports)
Sets the value of
DevEnvironmentOptions.getPorts() |
DevEnvironmentOptions.Builder |
tasks(List<? extends Task> tasks)
Sets the value of
DevEnvironmentOptions.getTasks() |
DevEnvironmentOptions.Builder |
vscodeExtensions(List<String> vscodeExtensions)
Sets the value of
DevEnvironmentOptions.getVscodeExtensions() |
@Stability(value=Experimental) public DevEnvironmentOptions.Builder dockerImage(DevEnvironmentDockerImage dockerImage)
DevEnvironmentOptions.getDockerImage()dockerImage - A Docker image or Dockerfile for the container.this@Stability(value=Experimental) public DevEnvironmentOptions.Builder ports(List<String> ports)
DevEnvironmentOptions.getPorts()ports - An array of ports that should be exposed from the container.this@Stability(value=Experimental) public DevEnvironmentOptions.Builder tasks(List<? extends Task> tasks)
DevEnvironmentOptions.getTasks()tasks - An array of tasks that should be run when the container starts.this@Stability(value=Experimental) public DevEnvironmentOptions.Builder vscodeExtensions(List<String> vscodeExtensions)
DevEnvironmentOptions.getVscodeExtensions()vscodeExtensions - An array of extension IDs that specify the extensions that should be installed inside the container when it is created.this@Stability(value=Experimental) public DevEnvironmentOptions build()
build in interface software.amazon.jsii.Builder<DevEnvironmentOptions>DevEnvironmentOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.