Class GetTdeCertificatesSqlTaskInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.GetTdeCertificatesSqlTaskInput
Input for the task that gets TDE certificates in Base64 encoded format.
-
Constructor Summary
ConstructorDescriptionCreates an instance of GetTdeCertificatesSqlTaskInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the backupFileShare property: Backup file share information for file share to be used for temporarily storing files.Get the connectionInfo property: Connection information for SQL Server.Get the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.void
validate()
Validates the instance.withBackupFileShare
(FileShare backupFileShare) Set the backupFileShare property: Backup file share information for file share to be used for temporarily storing files.withConnectionInfo
(SqlConnectionInfo connectionInfo) Set the connectionInfo property: Connection information for SQL Server.withSelectedCertificates
(List<SelectedCertificateInput> selectedCertificates) Set the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.
-
Constructor Details
-
GetTdeCertificatesSqlTaskInput
public GetTdeCertificatesSqlTaskInput()Creates an instance of GetTdeCertificatesSqlTaskInput class.
-
-
Method Details
-
connectionInfo
Get the connectionInfo property: Connection information for SQL Server.- Returns:
- the connectionInfo value.
-
withConnectionInfo
Set the connectionInfo property: Connection information for SQL Server.- Parameters:
connectionInfo
- the connectionInfo value to set.- Returns:
- the GetTdeCertificatesSqlTaskInput object itself.
-
selectedCertificates
Get the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.- Returns:
- the selectedCertificates value.
-
withSelectedCertificates
public GetTdeCertificatesSqlTaskInput withSelectedCertificates(List<SelectedCertificateInput> selectedCertificates) Set the selectedCertificates property: List containing certificate names and corresponding password to use for encrypting the exported certificate.- Parameters:
selectedCertificates
- the selectedCertificates value to set.- Returns:
- the GetTdeCertificatesSqlTaskInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-