Class DatabaseFileInfo

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

public final class DatabaseFileInfo extends Object
Database file specific information.
  • Constructor Details

    • DatabaseFileInfo

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

    • databaseName

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

      public DatabaseFileInfo withDatabaseName(String databaseName)
      Set the databaseName property: Name of the database.
      Parameters:
      databaseName - the databaseName value to set.
      Returns:
      the DatabaseFileInfo object itself.
    • id

      public String id()
      Get the id property: Unique identifier for database file.
      Returns:
      the id value.
    • withId

      public DatabaseFileInfo withId(String id)
      Set the id property: Unique identifier for database file.
      Parameters:
      id - the id value to set.
      Returns:
      the DatabaseFileInfo object itself.
    • logicalName

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

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

      public String physicalFullName()
      Get the physicalFullName property: Operating-system full path of the file.
      Returns:
      the physicalFullName value.
    • withPhysicalFullName

      public DatabaseFileInfo withPhysicalFullName(String physicalFullName)
      Set the physicalFullName property: Operating-system full path of the file.
      Parameters:
      physicalFullName - the physicalFullName value to set.
      Returns:
      the DatabaseFileInfo object itself.
    • restoreFullName

      public String restoreFullName()
      Get the restoreFullName property: Suggested full path of the file for restoring.
      Returns:
      the restoreFullName value.
    • withRestoreFullName

      public DatabaseFileInfo withRestoreFullName(String restoreFullName)
      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

      public DatabaseFileType fileType()
      Get the fileType property: Database file type.
      Returns:
      the fileType value.
    • withFileType

      public DatabaseFileInfo withFileType(DatabaseFileType fileType)
      Set the fileType property: Database file type.
      Parameters:
      fileType - the fileType value to set.
      Returns:
      the DatabaseFileInfo object itself.
    • sizeMB

      public Double sizeMB()
      Get the sizeMB property: Size of the file in megabytes.
      Returns:
      the sizeMB value.
    • withSizeMB

      public DatabaseFileInfo withSizeMB(Double sizeMB)
      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.