Class ServerTrustCertificateInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.sql.fluent.models.ServerTrustCertificateInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ServerTrustCertificateInner extends com.azure.core.management.ProxyResource
Server trust certificate imported from box to enable connection between box and Sql Managed Instance.
  • Constructor Details

    • ServerTrustCertificateInner

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

    • publicBlob

      public String publicBlob()
      Get the publicBlob property: The certificate public blob.
      Returns:
      the publicBlob value.
    • withPublicBlob

      public ServerTrustCertificateInner withPublicBlob(String publicBlob)
      Set the publicBlob property: The certificate public blob.
      Parameters:
      publicBlob - the publicBlob value to set.
      Returns:
      the ServerTrustCertificateInner object itself.
    • thumbprint

      public String thumbprint()
      Get the thumbprint property: The certificate thumbprint.
      Returns:
      the thumbprint value.
    • certificateName

      public String certificateName()
      Get the certificateName property: The certificate name.
      Returns:
      the certificateName value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.