@Stability(value=Experimental) @Internal public static final class DockerRunOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerRunOptions
DockerRunOptions
software.amazon.jsii.JsiiObject.InitializationMode
DockerRunOptions.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()
(experimental) The command to run in the container.
|
List<String> |
getEntrypoint()
(experimental) The entrypoint to run in the container.
|
Map<String,String> |
getEnvironment()
(experimental) The environment variables to pass to the container.
|
String |
getUser()
(experimental) The user to use when running the container.
|
List<DockerVolume> |
getVolumes()
(experimental) Docker volumes to mount.
|
String |
getWorkingDirectory()
(experimental) Working directory inside the container.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final List<String> getCommand()
DockerRunOptions
Default: - run the command defined in the image
getCommand
in interface DockerRunOptions
public final List<String> getEntrypoint()
DockerRunOptions
Default: - run the entrypoint defined in the image
getEntrypoint
in interface DockerRunOptions
public final Map<String,String> getEnvironment()
DockerRunOptions
Default: - no environment variables.
getEnvironment
in interface DockerRunOptions
public final String getUser()
DockerRunOptions
Default: - root or image default
getUser
in interface DockerRunOptions
public final List<DockerVolume> getVolumes()
DockerRunOptions
Default: - no volumes are mounted
getVolumes
in interface DockerRunOptions
public final String getWorkingDirectory()
DockerRunOptions
Default: - image default
getWorkingDirectory
in interface DockerRunOptions
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.