Class TdeCertificate
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.models.TdeCertificate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class TdeCertificate
extends com.azure.core.management.ProxyResource
A TDE certificate that can be uploaded into a server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the certPassword property: The certificate password.Get the privateBlob property: The base64 encoded certificate private blob.voidvalidate()Validates the instance.withCertPassword(String certPassword) Set the certPassword property: The certificate password.withPrivateBlob(String privateBlob) Set the privateBlob property: The base64 encoded certificate private blob.Methods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
TdeCertificate
public TdeCertificate()Creates an instance of TdeCertificate class.
-
-
Method Details
-
privateBlob
Get the privateBlob property: The base64 encoded certificate private blob.- Returns:
- the privateBlob value.
-
withPrivateBlob
Set the privateBlob property: The base64 encoded certificate private blob.- Parameters:
privateBlob- the privateBlob value to set.- Returns:
- the TdeCertificate object itself.
-
certPassword
Get the certPassword property: The certificate password.- Returns:
- the certPassword value.
-
withCertPassword
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.
-