Class AzureFirstPartyManagedCertificate

java.lang.Object
com.azure.resourcemanager.cdn.models.Certificate
com.azure.resourcemanager.cdn.models.AzureFirstPartyManagedCertificate
All Implemented Interfaces:
com.azure.json.JsonSerializable<Certificate>

public final class AzureFirstPartyManagedCertificate extends Certificate
Azure FirstParty Managed Certificate provided by other first party resource providers to enable HTTPS.
  • Constructor Details

    • AzureFirstPartyManagedCertificate

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

    • expirationDate

      public String expirationDate()
      Get the expirationDate property: Certificate expiration date.
      Overrides:
      expirationDate in class Certificate
      Returns:
      the expirationDate value.
    • subject

      public String subject()
      Get the subject property: Subject name in the certificate.
      Overrides:
      subject in class Certificate
      Returns:
      the subject value.
    • withType

      Set the type property: The type of the secret resource.
      Overrides:
      withType in class Certificate
      Parameters:
      type - the type value to set.
      Returns:
      the Certificate object itself.
    • validate

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

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