Class OrphanedUserInfo

java.lang.Object
com.azure.resourcemanager.datamigration.models.OrphanedUserInfo

public final class OrphanedUserInfo extends Object
Information of orphaned users on the SQL server database.
  • Constructor Details

    • OrphanedUserInfo

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

    • name

      public String name()
      Get the name property: Name of the orphaned user.
      Returns:
      the name value.
    • withName

      public OrphanedUserInfo withName(String name)
      Set the name property: Name of the orphaned user.
      Parameters:
      name - the name value to set.
      Returns:
      the OrphanedUserInfo object itself.
    • databaseName

      public String databaseName()
      Get the databaseName property: Parent database of the user.
      Returns:
      the databaseName value.
    • withDatabaseName

      public OrphanedUserInfo withDatabaseName(String databaseName)
      Set the databaseName property: Parent database of the user.
      Parameters:
      databaseName - the databaseName value to set.
      Returns:
      the OrphanedUserInfo object itself.
    • validate

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