@Stability(value=Stable) public static final class CfnTaskDefinition.MountPointProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition.MountPointProperty>
CfnTaskDefinition.MountPointProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskDefinition.MountPointProperty |
build()
Builds the configured instance.
|
CfnTaskDefinition.MountPointProperty.Builder |
containerPath(String containerPath)
Sets the value of
CfnTaskDefinition.MountPointProperty.getContainerPath() |
CfnTaskDefinition.MountPointProperty.Builder |
readOnly(Boolean readOnly)
Sets the value of
CfnTaskDefinition.MountPointProperty.getReadOnly() |
CfnTaskDefinition.MountPointProperty.Builder |
readOnly(IResolvable readOnly)
Sets the value of
CfnTaskDefinition.MountPointProperty.getReadOnly() |
CfnTaskDefinition.MountPointProperty.Builder |
sourceVolume(String sourceVolume)
Sets the value of
CfnTaskDefinition.MountPointProperty.getSourceVolume() |
@Stability(value=Stable) public CfnTaskDefinition.MountPointProperty.Builder containerPath(String containerPath)
CfnTaskDefinition.MountPointProperty.getContainerPath()containerPath - The path on the container to mount the host volume at.this@Stability(value=Stable) public CfnTaskDefinition.MountPointProperty.Builder readOnly(Boolean readOnly)
CfnTaskDefinition.MountPointProperty.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.MountPointProperty.Builder readOnly(IResolvable readOnly)
CfnTaskDefinition.MountPointProperty.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.MountPointProperty.Builder sourceVolume(String sourceVolume)
CfnTaskDefinition.MountPointProperty.getSourceVolume()sourceVolume - The name of the volume to mount.
Must be a volume name referenced in the name parameter of task definition volume .this@Stability(value=Stable) public CfnTaskDefinition.MountPointProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskDefinition.MountPointProperty>CfnTaskDefinition.MountPointPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.