Class DatabaseFileInfo
java.lang.Object
com.azure.resourcemanager.datamigration.models.DatabaseFileInfo
Database file specific information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the databaseName property: Name of the database.fileType()
Get the fileType property: Database file type.id()
Get the id property: Unique identifier for database file.Get the logicalName property: Logical name of the file.Get the physicalFullName property: Operating-system full path of the file.Get the restoreFullName property: Suggested full path of the file for restoring.sizeMB()
Get the sizeMB property: Size of the file in megabytes.void
validate()
Validates the instance.withDatabaseName
(String databaseName) Set the databaseName property: Name of the database.withFileType
(DatabaseFileType fileType) Set the fileType property: Database file type.Set the id property: Unique identifier for database file.withLogicalName
(String logicalName) Set the logicalName property: Logical name of the file.withPhysicalFullName
(String physicalFullName) Set the physicalFullName property: Operating-system full path of the file.withRestoreFullName
(String restoreFullName) Set the restoreFullName property: Suggested full path of the file for restoring.withSizeMB
(Double sizeMB) Set the sizeMB property: Size of the file in megabytes.
-
Constructor Details
-
DatabaseFileInfo
public DatabaseFileInfo()Creates an instance of DatabaseFileInfo class.
-
-
Method Details
-
databaseName
Get the databaseName property: Name of the database.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: Name of the database.- Parameters:
databaseName
- the databaseName value to set.- Returns:
- the DatabaseFileInfo object itself.
-
id
Get the id property: Unique identifier for database file.- Returns:
- the id value.
-
withId
Set the id property: Unique identifier for database file.- Parameters:
id
- the id value to set.- Returns:
- the DatabaseFileInfo object itself.
-
logicalName
Get the logicalName property: Logical name of the file.- Returns:
- the logicalName value.
-
withLogicalName
Set the logicalName property: Logical name of the file.- Parameters:
logicalName
- the logicalName value to set.- Returns:
- the DatabaseFileInfo object itself.
-
physicalFullName
Get the physicalFullName property: Operating-system full path of the file.- Returns:
- the physicalFullName value.
-
withPhysicalFullName
Set the physicalFullName property: Operating-system full path of the file.- Parameters:
physicalFullName
- the physicalFullName value to set.- Returns:
- the DatabaseFileInfo object itself.
-
restoreFullName
Get the restoreFullName property: Suggested full path of the file for restoring.- Returns:
- the restoreFullName value.
-
withRestoreFullName
Set the restoreFullName property: Suggested full path of the file for restoring.- Parameters:
restoreFullName
- the restoreFullName value to set.- Returns:
- the DatabaseFileInfo object itself.
-
fileType
Get the fileType property: Database file type.- Returns:
- the fileType value.
-
withFileType
Set the fileType property: Database file type.- Parameters:
fileType
- the fileType value to set.- Returns:
- the DatabaseFileInfo object itself.
-
sizeMB
Get the sizeMB property: Size of the file in megabytes.- Returns:
- the sizeMB value.
-
withSizeMB
Set the sizeMB property: Size of the file in megabytes.- Parameters:
sizeMB
- the sizeMB value to set.- Returns:
- the DatabaseFileInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-