Class ManagedCertificateProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.models.ManagedCertificateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedCertificateProperties>

public final class ManagedCertificateProperties extends Object implements com.azure.json.JsonSerializable<ManagedCertificateProperties>
Certificate resource specific properties.
  • Constructor Details

    • ManagedCertificateProperties

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

    • provisioningState

      public CertificateProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the certificate.
      Returns:
      the provisioningState value.
    • subjectName

      public String subjectName()
      Get the subjectName property: Subject name of the certificate.
      Returns:
      the subjectName value.
    • withSubjectName

      public ManagedCertificateProperties withSubjectName(String subjectName)
      Set the subjectName property: Subject name of the certificate.
      Parameters:
      subjectName - the subjectName value to set.
      Returns:
      the ManagedCertificateProperties object itself.
    • error

      public String error()
      Get the error property: Any error occurred during the certificate provision.
      Returns:
      the error value.
    • domainControlValidation

      public ManagedCertificateDomainControlValidation domainControlValidation()
      Get the domainControlValidation property: Selected type of domain control validation for managed certificates.
      Returns:
      the domainControlValidation value.
    • withDomainControlValidation

      public ManagedCertificateProperties withDomainControlValidation(ManagedCertificateDomainControlValidation domainControlValidation)
      Set the domainControlValidation property: Selected type of domain control validation for managed certificates.
      Parameters:
      domainControlValidation - the domainControlValidation value to set.
      Returns:
      the ManagedCertificateProperties object itself.
    • validationToken

      public String validationToken()
      Get the validationToken property: A TXT token used for DNS TXT domain control validation when issuing this type of managed certificates.
      Returns:
      the validationToken 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<ManagedCertificateProperties>
      Throws:
      IOException
    • fromJson

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