@Stability(value=Stable) public static final class VolumeFrom.Builder extends Object implements software.amazon.jsii.Builder<VolumeFrom>
VolumeFrom| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
VolumeFrom |
build()
Builds the configured instance.
|
VolumeFrom.Builder |
readOnly(Boolean readOnly)
Sets the value of
VolumeFrom.getReadOnly() |
VolumeFrom.Builder |
sourceContainer(String sourceContainer)
Sets the value of
VolumeFrom.getSourceContainer() |
@Stability(value=Stable) public VolumeFrom.Builder readOnly(Boolean readOnly)
VolumeFrom.getReadOnly()readOnly - Specifies whether the container has read-only access to the volume. This parameter is required.
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.this@Stability(value=Stable) public VolumeFrom.Builder sourceContainer(String sourceContainer)
VolumeFrom.getSourceContainer()sourceContainer - The name of another container within the same task definition from which to mount volumes. This parameter is required.this@Stability(value=Stable) public VolumeFrom build()
build in interface software.amazon.jsii.Builder<VolumeFrom>VolumeFromNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.