Interface MountPoint.Builder

    • 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 is false.

        Parameters:
        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 is false.
        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.