Interface LambdaVolumeMount.Builder

    • Method Detail

      • sourcePath

        LambdaVolumeMount.Builder sourcePath​(String sourcePath)

        The path to the physical volume in the file system.

        Parameters:
        sourcePath - The path to the physical volume in the file system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPath

        LambdaVolumeMount.Builder destinationPath​(String destinationPath)

        The path to the logical volume in the file system.

        Parameters:
        destinationPath - The path to the logical volume in the file system.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • permission

        LambdaVolumeMount.Builder permission​(String permission)

        The permission to access the volume: read/only (ro) or read/write (rw).

        Default: ro

        Parameters:
        permission - The permission to access the volume: read/only (ro) or read/write (rw).

        Default: ro

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LambdaFilesystemPermission, LambdaFilesystemPermission
      • addGroupOwner

        LambdaVolumeMount.Builder addGroupOwner​(Boolean addGroupOwner)

        Whether or not to add the IoT Greengrass user group as an owner of the volume.

        Default: false

        Parameters:
        addGroupOwner - Whether or not to add the IoT Greengrass user group as an owner of the volume.

        Default: false

        Returns:
        Returns a reference to this object so that method calls can be chained together.