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