Class ImportExtensionRequest
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.ImportExtensionRequest
-
public class ImportExtensionRequest extends Object
Import database parameters.
-
-
Constructor Summary
Constructors Constructor Description ImportExtensionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadministratorLogin()Get the administratorLogin property: The name of the SQL administrator.StringadministratorLoginPassword()Get the administratorLoginPassword property: The password of the SQL administrator.AuthenticationTypeauthenticationType()Get the authenticationType property: The authentication type.Stringname()Get the name property: The name of the extension.ImportOperationModeoperationMode()Get the operationMode property: The type of import operation being performed.StringstorageKey()Get the storageKey property: The storage key to use.StorageKeyTypestorageKeyType()Get the storageKeyType property: The type of the storage key to use.StringstorageUri()Get the storageUri property: The storage uri to use.Stringtype()Get the type property: The type of the extension.voidvalidate()Validates the instance.ImportExtensionRequestwithAdministratorLogin(String administratorLogin)Set the administratorLogin property: The name of the SQL administrator.ImportExtensionRequestwithAdministratorLoginPassword(String administratorLoginPassword)Set the administratorLoginPassword property: The password of the SQL administrator.ImportExtensionRequestwithAuthenticationType(AuthenticationType authenticationType)Set the authenticationType property: The authentication type.ImportExtensionRequestwithName(String name)Set the name property: The name of the extension.ImportExtensionRequestwithOperationMode(ImportOperationMode operationMode)Set the operationMode property: The type of import operation being performed.ImportExtensionRequestwithStorageKey(String storageKey)Set the storageKey property: The storage key to use.ImportExtensionRequestwithStorageKeyType(StorageKeyType storageKeyType)Set the storageKeyType property: The type of the storage key to use.ImportExtensionRequestwithStorageUri(String storageUri)Set the storageUri property: The storage uri to use.ImportExtensionRequestwithType(String type)Set the type property: The type of the extension.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the extension.- Returns:
- the name value.
-
withName
public ImportExtensionRequest withName(String name)
Set the name property: The name of the extension.- Parameters:
name- the name value to set.- Returns:
- the ImportExtensionRequest object itself.
-
type
public String type()
Get the type property: The type of the extension.- Returns:
- the type value.
-
withType
public ImportExtensionRequest withType(String type)
Set the type property: The type of the extension.- Parameters:
type- the type value to set.- Returns:
- the ImportExtensionRequest object itself.
-
storageKeyType
public StorageKeyType storageKeyType()
Get the storageKeyType property: The type of the storage key to use.- Returns:
- the storageKeyType value.
-
withStorageKeyType
public ImportExtensionRequest withStorageKeyType(StorageKeyType storageKeyType)
Set the storageKeyType property: The type of the storage key to use.- Parameters:
storageKeyType- the storageKeyType value to set.- Returns:
- the ImportExtensionRequest object itself.
-
storageKey
public String storageKey()
Get the storageKey property: 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 storageKey property: 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 storageUri property: The storage uri to use.- Returns:
- the storageUri value.
-
withStorageUri
public ImportExtensionRequest withStorageUri(String storageUri)
Set the storageUri property: The storage uri to use.- Parameters:
storageUri- the storageUri value to set.- Returns:
- the ImportExtensionRequest object itself.
-
administratorLogin
public String administratorLogin()
Get the administratorLogin property: The name of the SQL administrator.- Returns:
- the administratorLogin value.
-
withAdministratorLogin
public ImportExtensionRequest withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: The name of the SQL administrator.- Parameters:
administratorLogin- the administratorLogin value to set.- Returns:
- the ImportExtensionRequest object itself.
-
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: The password of the SQL administrator.- Returns:
- the administratorLoginPassword value.
-
withAdministratorLoginPassword
public ImportExtensionRequest withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the SQL administrator.- Parameters:
administratorLoginPassword- the administratorLoginPassword value to set.- Returns:
- the ImportExtensionRequest object itself.
-
authenticationType
public AuthenticationType authenticationType()
Get the authenticationType property: The authentication type.- Returns:
- the authenticationType value.
-
withAuthenticationType
public ImportExtensionRequest withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: The authentication type.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the ImportExtensionRequest object itself.
-
operationMode
public ImportOperationMode operationMode()
Get the operationMode property: The type of import operation being performed. This is always Import.- Returns:
- the operationMode value.
-
withOperationMode
public ImportExtensionRequest withOperationMode(ImportOperationMode operationMode)
Set the operationMode property: The type of import operation being performed. This is always Import.- Parameters:
operationMode- the operationMode value to set.- Returns:
- the ImportExtensionRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-