@Stability(value=Experimental) @Internal public static final class DockerComposeServiceDescription.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DockerComposeServiceDescription
DockerComposeServiceDescriptionsoftware.amazon.jsii.JsiiObject.InitializationModeDockerComposeServiceDescription.Builder, DockerComposeServiceDescription.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(DockerComposeServiceDescription.Builder builder)
Constructor that initializes the object based on literal property values passed by the
DockerComposeServiceDescription.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getCommand()
(experimental) Provide a command to the docker container.
|
List<IDockerComposeServiceName> |
getDependsOn()
(experimental) Names of other services this service depends on.
|
Map<String,String> |
getEnvironment()
(experimental) Add environment variables.
|
String |
getImage()
(experimental) Use a docker image.
|
DockerComposeBuild |
getImageBuild()
(experimental) Build a docker image.
|
List<DockerComposeServicePort> |
getPorts()
(experimental) Map some ports.
|
List<IDockerComposeVolumeBinding> |
getVolumes()
(experimental) Mount some volumes into the service.
|
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.protected Jsii$Proxy(DockerComposeServiceDescription.Builder builder)
DockerComposeServiceDescription.Builder.public final List<String> getCommand()
DockerComposeServiceDescriptionDefault: - use the container's default command
getCommand in interface DockerComposeServiceDescriptionpublic final List<IDockerComposeServiceName> getDependsOn()
DockerComposeServiceDescriptionDefault: - no dependencies
getDependsOn in interface DockerComposeServiceDescriptionpublic final Map<String,String> getEnvironment()
DockerComposeServiceDescriptionDefault: - no environment variables are provided
getEnvironment in interface DockerComposeServiceDescriptionpublic final String getImage()
DockerComposeServiceDescription
Note: You must specify either build or image key.
getImage in interface DockerComposeServiceDescriptionimageBuildpublic final DockerComposeBuild getImageBuild()
DockerComposeServiceDescription
Note: You must specify either imageBuild or image key.
getImageBuild in interface DockerComposeServiceDescriptionimagepublic final List<DockerComposeServicePort> getPorts()
DockerComposeServiceDescriptionDefault: - no ports are mapped
getPorts in interface DockerComposeServiceDescriptionpublic final List<IDockerComposeVolumeBinding> getVolumes()
DockerComposeServiceDescriptionUse one of the following to create volumes:
getVolumes in interface DockerComposeServiceDescriptionto create & mount a named volume@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.