@Stability(value=Experimental) public static final class GitpodOptions.Builder extends Object implements software.amazon.jsii.Builder<GitpodOptions>
GitpodOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GitpodOptions |
build()
Builds the configured instance.
|
GitpodOptions.Builder |
dockerImage(DevEnvironmentDockerImage dockerImage)
Sets the value of
DevEnvironmentOptions.getDockerImage() |
GitpodOptions.Builder |
ports(List<String> ports)
Sets the value of
DevEnvironmentOptions.getPorts() |
GitpodOptions.Builder |
prebuilds(GitpodPrebuilds prebuilds)
Sets the value of
GitpodOptions.getPrebuilds() |
GitpodOptions.Builder |
tasks(List<? extends Task> tasks)
Sets the value of
DevEnvironmentOptions.getTasks() |
GitpodOptions.Builder |
vscodeExtensions(List<String> vscodeExtensions)
Sets the value of
DevEnvironmentOptions.getVscodeExtensions() |
@Stability(value=Experimental) public GitpodOptions.Builder prebuilds(GitpodPrebuilds prebuilds)
GitpodOptions.getPrebuilds()prebuilds - Optional Gitpod's Github App integration for prebuilds If this is not set and Gitpod's Github App is installed, then Gitpod will apply these defaults: https://www.gitpod.io/docs/prebuilds/#configure-the-github-app.this@Stability(value=Experimental) public GitpodOptions.Builder dockerImage(DevEnvironmentDockerImage dockerImage)
DevEnvironmentOptions.getDockerImage()dockerImage - A Docker image or Dockerfile for the container.this@Stability(value=Experimental) public GitpodOptions.Builder ports(List<String> ports)
DevEnvironmentOptions.getPorts()ports - An array of ports that should be exposed from the container.this@Stability(value=Experimental) public GitpodOptions.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 GitpodOptions.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 GitpodOptions build()
build in interface software.amazon.jsii.Builder<GitpodOptions>GitpodOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.