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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MountPoint.Builder
containerPath(String containerPath)
The path on the container to mount the host volume at.MountPoint.Builder
readOnly(Boolean readOnly)
If this value istrue
, the container has read-only access to the volume.MountPoint.Builder
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 Detail
-
sourceVolume
MountPoint.Builder sourceVolume(String 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
MountPoint.Builder containerPath(String 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
MountPoint.Builder readOnly(Boolean 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.
-
-