Class SqlDataDirectoryMapping

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.SqlDataDirectoryMapping

public final class SqlDataDirectoryMapping extends Object
Encapsulates information regarding data directory.
  • Constructor Details

    • SqlDataDirectoryMapping

      public SqlDataDirectoryMapping()
      Creates an instance of SqlDataDirectoryMapping class.
  • Method Details

    • mappingType

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

      public SqlDataDirectoryMapping withMappingType(SqlDataDirectoryType mappingType)
      Set the mappingType property: Type of data directory mapping.
      Parameters:
      mappingType - the mappingType value to set.
      Returns:
      the SqlDataDirectoryMapping object itself.
    • sourceLogicalName

      public String sourceLogicalName()
      Get the sourceLogicalName property: Restore source logical name path.
      Returns:
      the sourceLogicalName value.
    • withSourceLogicalName

      public SqlDataDirectoryMapping withSourceLogicalName(String sourceLogicalName)
      Set the sourceLogicalName property: Restore source logical name path.
      Parameters:
      sourceLogicalName - the sourceLogicalName value to set.
      Returns:
      the SqlDataDirectoryMapping object itself.
    • sourcePath

      public String sourcePath()
      Get the sourcePath property: Restore source path.
      Returns:
      the sourcePath value.
    • withSourcePath

      public SqlDataDirectoryMapping withSourcePath(String sourcePath)
      Set the sourcePath property: Restore source path.
      Parameters:
      sourcePath - the sourcePath value to set.
      Returns:
      the SqlDataDirectoryMapping object itself.
    • targetPath

      public String targetPath()
      Get the targetPath property: Target path.
      Returns:
      the targetPath value.
    • withTargetPath

      public SqlDataDirectoryMapping withTargetPath(String targetPath)
      Set the targetPath property: Target path.
      Parameters:
      targetPath - the targetPath value to set.
      Returns:
      the SqlDataDirectoryMapping object itself.
    • validate

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