public static interface MountPoint.Builder extends CopyableBuilder<MountPoint.Builder,MountPoint>
Modifier and Type | Method and Description |
---|---|
MountPoint.Builder |
containerPath(String containerPath)
The path on the container to mount the host volume at.
|
MountPoint.Builder |
readOnly(Boolean readOnly)
If this value is
true , the container has read-only access to the volume. |
MountPoint.Builder |
sourceVolume(String sourceVolume)
The name of the volume to mount.
|
copy
apply, build
MountPoint.Builder sourceVolume(String sourceVolume)
The name of the volume to mount.
sourceVolume
- The name of the volume to mount.MountPoint.Builder containerPath(String containerPath)
The path on the container to mount the host volume at.
containerPath
- The path on the container to mount the host volume at.MountPoint.Builder readOnly(Boolean readOnly)
If this value is true
, the container has read-only access to the volume. If this value is
false
, then the container can write to the volume. The default value is false
.
readOnly
- If this value is true
, the container has read-only access to the volume. If this value is
false
, then the container can write to the volume. The default value is
false
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.