Class WorkstationConfigContainer
- java.lang.Object
-
- com.pulumi.gcp.workstations.outputs.WorkstationConfigContainer
-
public final class WorkstationConfigContainer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkstationConfigContainer.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
args()
static WorkstationConfigContainer.Builder
builder()
static WorkstationConfigContainer.Builder
builder(WorkstationConfigContainer defaults)
java.util.List<java.lang.String>
commands()
java.util.Map<java.lang.String,java.lang.String>
env()
java.util.Optional<java.lang.String>
image()
java.util.Optional<java.lang.Integer>
runAsUser()
java.util.Optional<java.lang.String>
workingDir()
-
-
-
Method Detail
-
args
public java.util.List<java.lang.String> args()
- Returns:
- Arguments passed to the entrypoint.
-
commands
public java.util.List<java.lang.String> commands()
- Returns:
- If set, overrides the default ENTRYPOINT specified by the image.
-
env
public java.util.Map<java.lang.String,java.lang.String> env()
- Returns:
- Environment variables passed to the container. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
-
image
public java.util.Optional<java.lang.String> image()
- Returns:
- Docker image defining the container. This image must be accessible by the config's service account.
-
runAsUser
public java.util.Optional<java.lang.Integer> runAsUser()
- Returns:
- If set, overrides the USER specified in the image with the given uid.
-
workingDir
public java.util.Optional<java.lang.String> workingDir()
- Returns:
- If set, overrides the default DIR specified by the image.
-
builder
public static WorkstationConfigContainer.Builder builder()
-
builder
public static WorkstationConfigContainer.Builder builder(WorkstationConfigContainer defaults)
-
-