Class ImportExtensionRequest

java.lang.Object
com.microsoft.azure.management.sql.ImportExtensionRequest

public class ImportExtensionRequest extends Object
Import database parameters.
  • Constructor Details

    • ImportExtensionRequest

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

    • name

      public String name()
      Get the name of the extension.
      Returns:
      the name value
    • withName

      public ImportExtensionRequest withName(String name)
      Set the name of the extension.
      Parameters:
      name - the name value to set
      Returns:
      the ImportExtensionRequest object itself.
    • type

      public String type()
      Get the type of the extension.
      Returns:
      the type value
    • withType

      public ImportExtensionRequest withType(String type)
      Set the type of the extension.
      Parameters:
      type - the type value to set
      Returns:
      the ImportExtensionRequest object itself.
    • storageKeyType

      public StorageKeyType storageKeyType()
      Get the type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'.
      Returns:
      the storageKeyType value
    • withStorageKeyType

      public ImportExtensionRequest withStorageKeyType(StorageKeyType storageKeyType)
      Set the type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'.
      Parameters:
      storageKeyType - the storageKeyType value to set
      Returns:
      the ImportExtensionRequest object itself.
    • storageKey

      public String storageKey()
      Get the storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?.".
      Returns:
      the storageKey value
    • withStorageKey

      public ImportExtensionRequest withStorageKey(String storageKey)
      Set the storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?.".
      Parameters:
      storageKey - the storageKey value to set
      Returns:
      the ImportExtensionRequest object itself.
    • storageUri

      public String storageUri()
      Get the storage uri to use.
      Returns:
      the storageUri value
    • withStorageUri

      public ImportExtensionRequest withStorageUri(String storageUri)
      Set the storage uri to use.
      Parameters:
      storageUri - the storageUri value to set
      Returns:
      the ImportExtensionRequest object itself.
    • administratorLogin

      public String administratorLogin()
      Get the name of the SQL administrator.
      Returns:
      the administratorLogin value
    • withAdministratorLogin

      public ImportExtensionRequest withAdministratorLogin(String administratorLogin)
      Set the name of the SQL administrator.
      Parameters:
      administratorLogin - the administratorLogin value to set
      Returns:
      the ImportExtensionRequest object itself.
    • administratorLoginPassword

      public String administratorLoginPassword()
      Get the password of the SQL administrator.
      Returns:
      the administratorLoginPassword value
    • withAdministratorLoginPassword

      public ImportExtensionRequest withAdministratorLoginPassword(String administratorLoginPassword)
      Set the password of the SQL administrator.
      Parameters:
      administratorLoginPassword - the administratorLoginPassword value to set
      Returns:
      the ImportExtensionRequest object itself.
    • authenticationType

      public AuthenticationType authenticationType()
      Get the authentication type. Possible values include: 'SQL', 'ADPassword'.
      Returns:
      the authenticationType value
    • withAuthenticationType

      public ImportExtensionRequest withAuthenticationType(AuthenticationType authenticationType)
      Set the authentication type. Possible values include: 'SQL', 'ADPassword'.
      Parameters:
      authenticationType - the authenticationType value to set
      Returns:
      the ImportExtensionRequest object itself.
    • operationMode

      public String operationMode()
      Get the type of import operation being performed. This is always Import.
      Returns:
      the operationMode value
    • withOperationMode

      public ImportExtensionRequest withOperationMode(String operationMode)
      Set the type of import operation being performed. This is always Import.
      Parameters:
      operationMode - the operationMode value to set
      Returns:
      the ImportExtensionRequest object itself.