Class NamespaceJunction


  • public final class NamespaceJunction
    extends Object
    A namespace junction.
    • Constructor Detail

      • NamespaceJunction

        public NamespaceJunction()
    • Method Detail

      • namespacePath

        public String namespacePath()
        Get the namespacePath property: Namespace path on a Cache for a Storage Target.
        Returns:
        the namespacePath value.
      • withNamespacePath

        public NamespaceJunction withNamespacePath​(String namespacePath)
        Set the namespacePath property: Namespace path on a Cache for a Storage Target.
        Parameters:
        namespacePath - the namespacePath value to set.
        Returns:
        the NamespaceJunction object itself.
      • targetPath

        public String targetPath()
        Get the targetPath property: Path in Storage Target to which namespacePath points.
        Returns:
        the targetPath value.
      • withTargetPath

        public NamespaceJunction withTargetPath​(String targetPath)
        Set the targetPath property: Path in Storage Target to which namespacePath points.
        Parameters:
        targetPath - the targetPath value to set.
        Returns:
        the NamespaceJunction object itself.
      • nfsExport

        public String nfsExport()
        Get the nfsExport property: NFS export where targetPath exists.
        Returns:
        the nfsExport value.
      • withNfsExport

        public NamespaceJunction withNfsExport​(String nfsExport)
        Set the nfsExport property: NFS export where targetPath exists.
        Parameters:
        nfsExport - the nfsExport value to set.
        Returns:
        the NamespaceJunction object itself.
      • nfsAccessPolicy

        public String nfsAccessPolicy()
        Get the nfsAccessPolicy property: Name of the access policy applied to this junction.
        Returns:
        the nfsAccessPolicy value.
      • withNfsAccessPolicy

        public NamespaceJunction withNfsAccessPolicy​(String nfsAccessPolicy)
        Set the nfsAccessPolicy property: Name of the access policy applied to this junction.
        Parameters:
        nfsAccessPolicy - the nfsAccessPolicy value to set.
        Returns:
        the NamespaceJunction object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.