Class ContentCertificateProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.CertificateProperties
com.azure.resourcemanager.appplatform.models.ContentCertificateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateProperties>

public final class ContentCertificateProperties extends CertificateProperties
Properties of certificate imported from key vault.
  • Constructor Details

    • ContentCertificateProperties

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

    • type

      public String type()
      Get the type property: The type of the certificate source.
      Overrides:
      type in class CertificateProperties
      Returns:
      the type value.
    • content

      public String content()
      Get the content property: The content of uploaded certificate.
      Returns:
      the content value.
    • withContent

      public ContentCertificateProperties withContent(String content)
      Set the content property: The content of uploaded certificate.
      Parameters:
      content - the content value to set.
      Returns:
      the ContentCertificateProperties object itself.
    • thumbprint

      public String thumbprint()
      Get the thumbprint property: The thumbprint of certificate.
      Overrides:
      thumbprint in class CertificateProperties
      Returns:
      the thumbprint value.
    • issuer

      public String issuer()
      Get the issuer property: The issuer of certificate.
      Overrides:
      issuer in class CertificateProperties
      Returns:
      the issuer value.
    • issuedDate

      public String issuedDate()
      Get the issuedDate property: The issue date of certificate.
      Overrides:
      issuedDate in class CertificateProperties
      Returns:
      the issuedDate value.
    • expirationDate

      public String expirationDate()
      Get the expirationDate property: The expiration date of certificate.
      Overrides:
      expirationDate in class CertificateProperties
      Returns:
      the expirationDate value.
    • activateDate

      public String activateDate()
      Get the activateDate property: The activate date of certificate.
      Overrides:
      activateDate in class CertificateProperties
      Returns:
      the activateDate value.
    • subjectName

      public String subjectName()
      Get the subjectName property: The subject name of certificate.
      Overrides:
      subjectName in class CertificateProperties
      Returns:
      the subjectName value.
    • dnsNames

      public List<String> dnsNames()
      Get the dnsNames property: The domain list of certificate.
      Overrides:
      dnsNames in class CertificateProperties
      Returns:
      the dnsNames value.
    • provisioningState

      public CertificateResourceProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the Certificate.
      Overrides:
      provisioningState in class CertificateProperties
      Returns:
      the provisioningState value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class CertificateProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<CertificateProperties>
      Overrides:
      toJson in class CertificateProperties
      Throws:
      IOException
    • fromJson

      public static ContentCertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ContentCertificateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ContentCertificateProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ContentCertificateProperties.