public static interface MountPoint.Builder extends SdkPojo, CopyableBuilder<MountPoint.Builder,MountPoint>
Modifier and Type | Method and Description |
---|---|
MountPoint.Builder |
containerPath(String containerPath)
The path on the container at which to mount the host volume.
|
MountPoint.Builder |
readOnly(Boolean readOnly)
If this value is
true , the container has read-only access to the volume; otherwise, the
container can write to the volume. |
MountPoint.Builder |
sourceVolume(String sourceVolume)
The name of the volume to mount.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
MountPoint.Builder containerPath(String containerPath)
The path on the container at which to mount the host volume.
containerPath
- The path on the container at which to mount the host volume.MountPoint.Builder readOnly(Boolean readOnly)
If this value is true
, the container has read-only access to the volume; otherwise, 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; otherwise, the
container can write to the volume. The default value is false
.MountPoint.Builder sourceVolume(String sourceVolume)
The name of the volume to mount.
sourceVolume
- The name of the volume to mount.Copyright © 2020. All rights reserved.