Class SelectedCertificateInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.SelectedCertificateInput
Info for certificate to be exported for TDE enabled databases.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SelectedCertificateInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificateName property: Name of certificate to be exported.password()
Get the password property: Password to use for encrypting the exported certificate.void
validate()
Validates the instance.withCertificateName
(String certificateName) Set the certificateName property: Name of certificate to be exported.withPassword
(String password) Set the password property: Password to use for encrypting the exported certificate.
-
Constructor Details
-
SelectedCertificateInput
public SelectedCertificateInput()Creates an instance of SelectedCertificateInput class.
-
-
Method Details
-
certificateName
Get the certificateName property: Name of certificate to be exported.- Returns:
- the certificateName value.
-
withCertificateName
Set the certificateName property: Name of certificate to be exported.- Parameters:
certificateName
- the certificateName value to set.- Returns:
- the SelectedCertificateInput object itself.
-
password
Get the password property: Password to use for encrypting the exported certificate.- Returns:
- the password value.
-
withPassword
Set the password property: Password to use for encrypting the exported certificate.- Parameters:
password
- the password value to set.- Returns:
- the SelectedCertificateInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-