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 Details

    • TdeCertificate

      public TdeCertificate()
      Creates an instance of TdeCertificate class.
  • Method Details

    • 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.