@Generated(value="jsii-pacmak/1.21.0 (build 4262b22)", date="2021-02-23T11:51:53.863Z") @Stability(value=Stable) public interface DockerVolume extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
DockerVolume.Builder
A builder for
DockerVolume |
static class |
DockerVolume.Jsii$Proxy
An implementation for
DockerVolume |
| Modifier and Type | Method and Description |
|---|---|
static DockerVolume.Builder |
builder() |
default DockerVolumeConsistency |
getConsistency()
Mount consistency.
|
String |
getContainerPath()
The path where the file or directory is mounted in the container.
|
String |
getHostPath()
The path to the file or directory on the host machine.
|
@Stability(value=Stable) @NotNull String getContainerPath()
@Stability(value=Stable) @NotNull String getHostPath()
@Stability(value=Stable) @Nullable default DockerVolumeConsistency getConsistency()
Only applicable for macOS
Default: DockerConsistency.DELEGATED
https://docs.docker.com/storage/bind-mounts/#configure-mount-consistency-for-macos@Stability(value=Stable) static DockerVolume.Builder builder()
DockerVolume.Builder of DockerVolumeCopyright © 2021. All rights reserved.