@Stability(value=Stable) @Internal public static final class DockerRunOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerRunOptions
DockerRunOptionssoftware.amazon.jsii.JsiiObject.InitializationModeDockerRunOptions.Builder, DockerRunOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(List<String> command,
List<String> entrypoint,
Map<String,String> environment,
String user,
List<? extends DockerVolume> volumes,
String workingDirectory)
Constructor that initializes the object based on literal property values passed by the
DockerRunOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getCommand()
The command to run in the container.
|
List<String> |
getEntrypoint()
The entrypoint to run in the container.
|
Map<String,String> |
getEnvironment()
The environment variables to pass to the container.
|
String |
getUser()
The user to use when running the container.
|
List<DockerVolume> |
getVolumes()
Docker volumes to mount.
|
String |
getWorkingDirectory()
Working directory inside the container.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final List<String> getCommand()
DockerRunOptionsDefault: - run the command defined in the image
getCommand in interface DockerRunOptionspublic final List<String> getEntrypoint()
DockerRunOptionsDefault: - run the entrypoint defined in the image
getEntrypoint in interface DockerRunOptionspublic final Map<String,String> getEnvironment()
DockerRunOptionsDefault: - no environment variables.
getEnvironment in interface DockerRunOptionspublic final String getUser()
DockerRunOptionsDefault: - root or image default
getUser in interface DockerRunOptionspublic final List<DockerVolume> getVolumes()
DockerRunOptionsDefault: - no volumes are mounted
getVolumes in interface DockerRunOptionspublic final String getWorkingDirectory()
DockerRunOptionsDefault: - image default
getWorkingDirectory in interface DockerRunOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.