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
java.lang.String administratorLogin()

Get the name of the SQL administrator.

java.lang.String administratorLoginPassword()

Get the password of the SQL administrator.

AuthenticationType authenticationType()

Get the authentication type.

java.lang.String name()

Get the name of the extension.

java.lang.String operationMode()

Get the type of import operation being performed.

java.lang.String storageKey()

Get the storage key to use.

StorageKeyType storageKeyType()

Get the type of the storage key to use.

java.lang.String storageUri()

Get the storage uri to use.

java.lang.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.

ImportExtensionRequest withName(String name)

Set the name of the extension.

ImportExtensionRequest withOperationMode(String operationMode)

Set the type of import operation being performed.

ImportExtensionRequest withStorageKey(String storageKey)

Set the storage key to use.

ImportExtensionRequest withStorageKeyType(StorageKeyType storageKeyType)

Set the type of the storage key to use.

ImportExtensionRequest withStorageUri(String storageUri)

Set the storage uri to use.

ImportExtensionRequest withType(String type)

Set the type of the extension.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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