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 Details

    • 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 definition volume.

      Parameters:
      sourceVolume - The name of the volume to mount. Must be a volume name referenced in the name parameter of task definition volume.
      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 is false, then the container can write to the volume. The default value is false.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.