Interface MountPoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MountPoint.Builder,
,MountPoint> SdkBuilder<MountPoint.Builder,
,MountPoint> SdkPojo
- Enclosing class:
MountPoint
public static interface MountPoint.Builder
extends SdkPojo, CopyableBuilder<MountPoint.Builder,MountPoint>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerPath
(String containerPath) The path on the container to mount the host volume at.If this value istrue
, the container has read-only access to the volume.sourceVolume
(String sourceVolume) The name of the volume to mount.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sourceVolume
The name of the volume to mount. Must be a volume name referenced in the
name
parameter of task definitionvolume
.- Parameters:
sourceVolume
- The name of the volume to mount. Must be a volume name referenced in thename
parameter of task definitionvolume
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerPath
The path on the container to mount the host volume at.
- Parameters:
containerPath
- The path on the container to mount the host volume at.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readOnly
If this value is
true
, the container has read-only access to the volume. If this value isfalse
, then the container can write to the volume. The default value isfalse
.- Parameters:
readOnly
- If this value istrue
, the container has read-only access to the volume. If this value isfalse
, then the container can write to the volume. The default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-