Interface MountPoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MountPoint.Builder,
,MountPoint> SdkBuilder<MountPoint.Builder,
,MountPoint> SdkPojo
- Enclosing class:
MountPoint
@Mutable
@NotThreadSafe
public static interface MountPoint.Builder
extends SdkPojo, CopyableBuilder<MountPoint.Builder,MountPoint>
-
Method Summary
Modifier and TypeMethodDescriptioncontainerPath
(String containerPath) The path on the container where the host volume is mounted.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-