@Stability(value=Experimental) public static final class GitpodPort.Builder extends Object implements software.amazon.jsii.Builder<GitpodPort>
GitpodPort| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GitpodPort |
build()
Builds the configured instance.
|
GitpodPort.Builder |
onOpen(GitpodOnOpen onOpen)
Sets the value of
GitpodPort.getOnOpen() |
GitpodPort.Builder |
port(String port)
Sets the value of
GitpodPort.getPort() |
GitpodPort.Builder |
visibility(GitpodPortVisibility visibility)
Sets the value of
GitpodPort.getVisibility() |
@Stability(value=Experimental) public GitpodPort.Builder onOpen(GitpodOnOpen onOpen)
GitpodPort.getOnOpen()onOpen - What to do when a service on a port is detected.this@Stability(value=Experimental) public GitpodPort.Builder port(String port)
GitpodPort.getPort()port - A port that should be exposed (forwarded) from the container.this@Stability(value=Experimental) public GitpodPort.Builder visibility(GitpodPortVisibility visibility)
GitpodPort.getVisibility()visibility - Whether the port visibility should be private or public.this@Stability(value=Experimental) public GitpodPort build()
build in interface software.amazon.jsii.Builder<GitpodPort>GitpodPortNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.