ImportExtensionRequest Class

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

public class ImportExtensionRequest

Import database parameters.

Constructor Summary

Constructor Description
ImportExtensionRequest()

Creates an instance of ImportExtensionRequest class.

Method Summary

Modifier and Type Method and Description
String administratorLogin()

Get the name of the SQL administrator.

String administratorLoginPassword()

Get the password of the SQL administrator.

AuthenticationType authenticationType()

Get the authentication type. Possible values include: 'SQL', 'ADPassword'.

String name()

Get the name of the extension.

String operationMode()

Get the type of import operation being performed. This is always Import.

String storageKey()

Get the storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?.".

StorageKeyType storageKeyType()

Get the type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'.

String storageUri()

Get the storage uri to use.

String type()

Get the type of the extension.

ImportExtensionRequest withAdministratorLogin(String administratorLogin)

Set the name of the SQL administrator.

ImportExtensionRequest withAdministratorLoginPassword(String administratorLoginPassword)

Set the password of the SQL administrator.

ImportExtensionRequest withAuthenticationType(AuthenticationType authenticationType)

Set the authentication type. Possible values include: 'SQL', 'ADPassword'.

ImportExtensionRequest withName(String name)

Set the name of the extension.

ImportExtensionRequest withOperationMode(String operationMode)

Set the type of import operation being performed. This is always Import.

ImportExtensionRequest withStorageKey(String storageKey)

Set the storage key to use. If storage key type is SharedAccessKey, it must be preceded with a "?.".

ImportExtensionRequest withStorageKeyType(StorageKeyType storageKeyType)

Set the type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'.

ImportExtensionRequest withStorageUri(String storageUri)

Set the storage uri to use.

ImportExtensionRequest withType(String type)

Set the type of the extension.

Constructor Details

ImportExtensionRequest

public ImportExtensionRequest()

Creates an instance of ImportExtensionRequest class.

Method Details

administratorLogin

public String administratorLogin()

Get the name of the SQL administrator.

Returns:

the administratorLogin value

administratorLoginPassword

public String administratorLoginPassword()

Get the password of the SQL administrator.

Returns:

the administratorLoginPassword value

authenticationType

public AuthenticationType authenticationType()

Get the authentication type. Possible values include: 'SQL', 'ADPassword'.

Returns:

the authenticationType value

name

public String name()

Get the name of the extension.

Returns:

the name value

operationMode

public String operationMode()

Get the type of import operation being performed. This is always Import.

Returns:

the operationMode value

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

storageKeyType

public StorageKeyType storageKeyType()

Get the type of the storage key to use. Possible values include: 'StorageAccessKey', 'SharedAccessKey'.

Returns:

the storageKeyType value

storageUri

public String storageUri()

Get the storage uri to use.

Returns:

the storageUri value

type

public String type()

Get the type of the extension.

Returns:

the type 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.

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.

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.

withName

public ImportExtensionRequest withName(String name)

Set the name of the extension.

Parameters:

name - the name value to set

Returns:

the ImportExtensionRequest object itself.

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.

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.

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.

withStorageUri

public ImportExtensionRequest withStorageUri(String storageUri)

Set the storage uri to use.

Parameters:

storageUri - the storageUri value to set

Returns:

the ImportExtensionRequest object itself.

withType

public ImportExtensionRequest withType(String type)

Set the type of the extension.

Parameters:

type - the type value to set

Returns:

the ImportExtensionRequest object itself.

Applies to