Class ImportNewDatabaseDefinition

java.lang.Object
com.azure.resourcemanager.sql.models.ImportNewDatabaseDefinition

public final class ImportNewDatabaseDefinition extends Object
Contains the information necessary to perform import operation for new database.
  • Constructor Details

    • ImportNewDatabaseDefinition

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

    • databaseName

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

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

      public String edition()
      Get the edition property: Edition of the import database.
      Returns:
      the edition value.
    • withEdition

      public ImportNewDatabaseDefinition withEdition(String edition)
      Set the edition property: Edition of the import database.
      Parameters:
      edition - the edition value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • serviceObjectiveName

      public String serviceObjectiveName()
      Get the serviceObjectiveName property: Service level objective name of the import database.
      Returns:
      the serviceObjectiveName value.
    • withServiceObjectiveName

      public ImportNewDatabaseDefinition withServiceObjectiveName(String serviceObjectiveName)
      Set the serviceObjectiveName property: Service level objective name of the import database.
      Parameters:
      serviceObjectiveName - the serviceObjectiveName value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • maxSizeBytes

      public String maxSizeBytes()
      Get the maxSizeBytes property: Max size in bytes for the import database.
      Returns:
      the maxSizeBytes value.
    • withMaxSizeBytes

      public ImportNewDatabaseDefinition withMaxSizeBytes(String maxSizeBytes)
      Set the maxSizeBytes property: Max size in bytes for the import database.
      Parameters:
      maxSizeBytes - the maxSizeBytes value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • storageKeyType

      public StorageKeyType storageKeyType()
      Get the storageKeyType property: Storage key type.
      Returns:
      the storageKeyType value.
    • withStorageKeyType

      public ImportNewDatabaseDefinition withStorageKeyType(StorageKeyType storageKeyType)
      Set the storageKeyType property: Storage key type.
      Parameters:
      storageKeyType - the storageKeyType value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • storageKey

      public String storageKey()
      Get the storageKey property: Storage key.
      Returns:
      the storageKey value.
    • withStorageKey

      public ImportNewDatabaseDefinition withStorageKey(String storageKey)
      Set the storageKey property: Storage key.
      Parameters:
      storageKey - the storageKey value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • storageUri

      public String storageUri()
      Get the storageUri property: Storage Uri.
      Returns:
      the storageUri value.
    • withStorageUri

      public ImportNewDatabaseDefinition withStorageUri(String storageUri)
      Set the storageUri property: Storage Uri.
      Parameters:
      storageUri - the storageUri value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • administratorLogin

      public String administratorLogin()
      Get the administratorLogin property: Administrator login name.
      Returns:
      the administratorLogin value.
    • withAdministratorLogin

      public ImportNewDatabaseDefinition withAdministratorLogin(String administratorLogin)
      Set the administratorLogin property: Administrator login name.
      Parameters:
      administratorLogin - the administratorLogin value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • administratorLoginPassword

      public String administratorLoginPassword()
      Get the administratorLoginPassword property: Administrator login password.
      Returns:
      the administratorLoginPassword value.
    • withAdministratorLoginPassword

      public ImportNewDatabaseDefinition withAdministratorLoginPassword(String administratorLoginPassword)
      Set the administratorLoginPassword property: Administrator login password.
      Parameters:
      administratorLoginPassword - the administratorLoginPassword value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • authenticationType

      public String authenticationType()
      Get the authenticationType property: Authentication type.
      Returns:
      the authenticationType value.
    • withAuthenticationType

      public ImportNewDatabaseDefinition withAuthenticationType(String authenticationType)
      Set the authenticationType property: Authentication type.
      Parameters:
      authenticationType - the authenticationType value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • networkIsolation

      public NetworkIsolationSettings networkIsolation()
      Get the networkIsolation property: Optional resource information to enable network isolation for request.
      Returns:
      the networkIsolation value.
    • withNetworkIsolation

      public ImportNewDatabaseDefinition withNetworkIsolation(NetworkIsolationSettings networkIsolation)
      Set the networkIsolation property: Optional resource information to enable network isolation for request.
      Parameters:
      networkIsolation - the networkIsolation value to set.
      Returns:
      the ImportNewDatabaseDefinition object itself.
    • validate

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