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