CopyableBuilder<VolumeFrom.Builder,VolumeFrom>, SdkBuilder<VolumeFrom.Builder,VolumeFrom>public static interface VolumeFrom.Builder extends CopyableBuilder<VolumeFrom.Builder,VolumeFrom>
| Modifier and Type | Method | 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.
|
copyapply, buildVolumeFrom.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.