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.BuildercontainerPath(String containerPath)The path on the container where the host volume is mounted.MountPoint.BuilderreadOnly(Boolean readOnly)If this value istrue, the container has read-only access to the volume.MountPoint.BuildersourceVolume(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
-
containerPath
MountPoint.Builder containerPath(String containerPath)
The path on the container where the host volume is mounted.
- Parameters:
containerPath- The path on the container where the host volume is mounted.- 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. Otherwise, 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. Otherwise, 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.
-
sourceVolume
MountPoint.Builder sourceVolume(String sourceVolume)
The name of the volume to mount.
- Parameters:
sourceVolume- The name of the volume to mount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-