Class ExportRequest
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.ExportRequest
-
- Direct Known Subclasses:
ImportExtensionProperties,ImportRequest
public class ExportRequest extends Object
Export database parameters.
-
-
Constructor Summary
Constructors Constructor Description ExportRequest()
-
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.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.voidvalidate()Validates the instance.ExportRequestwithAdministratorLogin(String administratorLogin)Set the administratorLogin property: The name of the SQL administrator.ExportRequestwithAdministratorLoginPassword(String administratorLoginPassword)Set the administratorLoginPassword property: The password of the SQL administrator.ExportRequestwithAuthenticationType(AuthenticationType authenticationType)Set the authenticationType property: The authentication type.ExportRequestwithStorageKey(String storageKey)Set the storageKey property: The storage key to use.ExportRequestwithStorageKeyType(StorageKeyType storageKeyType)Set the storageKeyType property: The type of the storage key to use.ExportRequestwithStorageUri(String storageUri)Set the storageUri property: The storage uri to use.
-
-
-
Method Detail
-
storageKeyType
public StorageKeyType storageKeyType()
Get the storageKeyType property: The type of the storage key to use.- Returns:
- the storageKeyType value.
-
withStorageKeyType
public ExportRequest withStorageKeyType(StorageKeyType storageKeyType)
Set the storageKeyType property: The type of the storage key to use.- Parameters:
storageKeyType- the storageKeyType value to set.- Returns:
- the ExportRequest 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 ExportRequest 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 ExportRequest object itself.
-
storageUri
public String storageUri()
Get the storageUri property: The storage uri to use.- Returns:
- the storageUri value.
-
withStorageUri
public ExportRequest withStorageUri(String storageUri)
Set the storageUri property: The storage uri to use.- Parameters:
storageUri- the storageUri value to set.- Returns:
- the ExportRequest object itself.
-
administratorLogin
public String administratorLogin()
Get the administratorLogin property: The name of the SQL administrator.- Returns:
- the administratorLogin value.
-
withAdministratorLogin
public ExportRequest withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: The name of the SQL administrator.- Parameters:
administratorLogin- the administratorLogin value to set.- Returns:
- the ExportRequest object itself.
-
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: The password of the SQL administrator.- Returns:
- the administratorLoginPassword value.
-
withAdministratorLoginPassword
public ExportRequest withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the SQL administrator.- Parameters:
administratorLoginPassword- the administratorLoginPassword value to set.- Returns:
- the ExportRequest object itself.
-
authenticationType
public AuthenticationType authenticationType()
Get the authenticationType property: The authentication type.- Returns:
- the authenticationType value.
-
withAuthenticationType
public ExportRequest withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: The authentication type.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the ExportRequest object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-