public static interface VolumeFrom.Builder extends CopyableBuilder<VolumeFrom.Builder,VolumeFrom>
Modifier and Type | Method and Description |
---|---|
VolumeFrom.Builder |
readOnly(Boolean readOnly)
If this value is
true , the container has read-only access to the volume. |
VolumeFrom.Builder |
sourceContainer(String sourceContainer)
The name of another container within the same task definition to mount volumes from.
|
copy
applyMutation, build
VolumeFrom.Builder sourceContainer(String sourceContainer)
The name of another container within the same task definition to mount volumes from.
sourceContainer
- The name of another container within the same task definition to mount volumes from.VolumeFrom.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.