Class TdeCertificate
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.models.TdeCertificate
-
public class TdeCertificate extends com.azure.core.management.ProxyResourceA TDE certificate that can be uploaded into a server.
-
-
Constructor Summary
Constructors Constructor Description TdeCertificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcertPassword()Get the certPassword property: The certificate password.StringprivateBlob()Get the privateBlob property: The base64 encoded certificate private blob.voidvalidate()Validates the instance.TdeCertificatewithCertPassword(String certPassword)Set the certPassword property: The certificate password.TdeCertificatewithPrivateBlob(String privateBlob)Set the privateBlob property: The base64 encoded certificate private blob.
-
-
-
Method Detail
-
privateBlob
public String privateBlob()
Get the privateBlob property: The base64 encoded certificate private blob.- Returns:
- the privateBlob value.
-
withPrivateBlob
public TdeCertificate withPrivateBlob(String privateBlob)
Set the privateBlob property: The base64 encoded certificate private blob.- Parameters:
privateBlob- the privateBlob value to set.- Returns:
- the TdeCertificate object itself.
-
certPassword
public String certPassword()
Get the certPassword property: The certificate password.- Returns:
- the certPassword value.
-
withCertPassword
public TdeCertificate withCertPassword(String certPassword)
Set the certPassword property: The certificate password.- Parameters:
certPassword- the certPassword value to set.- Returns:
- the TdeCertificate object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-