Class CertificateProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.CertificateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<CertificateProperties>
Direct Known Subclasses:
ContentCertificateProperties, KeyVaultCertificateProperties

public class CertificateProperties extends Object implements com.azure.json.JsonSerializable<CertificateProperties>
Certificate resource payload.
  • Constructor Details

    • CertificateProperties

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

    • type

      public String type()
      Get the type property: The type of the certificate source.
      Returns:
      the type value.
    • thumbprint

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

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

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

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

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

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

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

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

      public void validate()
      Validates the instance.
      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>
      Throws:
      IOException
    • fromJson

      public static CertificateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CertificateProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CertificateProperties 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 CertificateProperties.