Class OrphanedUserInfo
java.lang.Object
com.azure.resourcemanager.datamigration.models.OrphanedUserInfo
Information of orphaned users on the SQL server database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the databaseName property: Parent database of the user.name()Get the name property: Name of the orphaned user.voidvalidate()Validates the instance.withDatabaseName(String databaseName) Set the databaseName property: Parent database of the user.Set the name property: Name of the orphaned user.
-
Constructor Details
-
OrphanedUserInfo
public OrphanedUserInfo()Creates an instance of OrphanedUserInfo class.
-
-
Method Details
-
name
Get the name property: Name of the orphaned user.- Returns:
- the name value.
-
withName
Set the name property: Name of the orphaned user.- Parameters:
name- the name value to set.- Returns:
- the OrphanedUserInfo object itself.
-
databaseName
Get the databaseName property: Parent database of the user.- Returns:
- the databaseName value.
-
withDatabaseName
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.
-