Class NfsVolume.Builder

  • Enclosing class:
    NfsVolume

    public static class NfsVolume.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • name

        public NfsVolume.Builder name​(String name)
        The name of the NfsVolume.
        Parameters:
        name - the value to set
        Returns:
        this builder
      • mountTargetFqdn

        public NfsVolume.Builder mountTargetFqdn​(String mountTargetFqdn)
        The FQDN of the NFS server to connect to.
        Parameters:
        mountTargetFqdn - the value to set
        Returns:
        this builder
      • mountTargetExportPath

        public NfsVolume.Builder mountTargetExportPath​(String mountTargetExportPath)
        The path to the directory on the NFS server to be mounted.
        Parameters:
        mountTargetExportPath - the value to set
        Returns:
        this builder
      • localMountDirectoryPath

        public NfsVolume.Builder localMountDirectoryPath​(String localMountDirectoryPath)
        The local path to mount the NFS share to.
        Parameters:
        localMountDirectoryPath - the value to set
        Returns:
        this builder