Class SqlDataDirectory


  • public final class SqlDataDirectory
    extends Object
    SQLDataDirectory info.
    • Constructor Detail

      • SqlDataDirectory

        public SqlDataDirectory()
    • Method Detail

      • type

        public SqlDataDirectoryType type()
        Get the type property: Type of data directory mapping.
        Returns:
        the type value.
      • withType

        public SqlDataDirectory withType​(SqlDataDirectoryType type)
        Set the type property: Type of data directory mapping.
        Parameters:
        type - the type value to set.
        Returns:
        the SqlDataDirectory object itself.
      • path

        public String path()
        Get the path property: File path.
        Returns:
        the path value.
      • withPath

        public SqlDataDirectory withPath​(String path)
        Set the path property: File path.
        Parameters:
        path - the path value to set.
        Returns:
        the SqlDataDirectory object itself.
      • logicalName

        public String logicalName()
        Get the logicalName property: Logical name of the file.
        Returns:
        the logicalName value.
      • withLogicalName

        public SqlDataDirectory withLogicalName​(String logicalName)
        Set the logicalName property: Logical name of the file.
        Parameters:
        logicalName - the logicalName value to set.
        Returns:
        the SqlDataDirectory object itself.
      • validate

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