Class PublicCertificateProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.PublicCertificateProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<PublicCertificateProperties>

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

    • PublicCertificateProperties

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

    • blob

      public byte[] blob()
      Get the blob property: Public Certificate byte array.
      Returns:
      the blob value.
    • withBlob

      public PublicCertificateProperties withBlob(byte[] blob)
      Set the blob property: Public Certificate byte array.
      Parameters:
      blob - the blob value to set.
      Returns:
      the PublicCertificateProperties object itself.
    • publicCertificateLocation

      public PublicCertificateLocation publicCertificateLocation()
      Get the publicCertificateLocation property: Public Certificate Location.
      Returns:
      the publicCertificateLocation value.
    • withPublicCertificateLocation

      public PublicCertificateProperties withPublicCertificateLocation(PublicCertificateLocation publicCertificateLocation)
      Set the publicCertificateLocation property: Public Certificate Location.
      Parameters:
      publicCertificateLocation - the publicCertificateLocation value to set.
      Returns:
      the PublicCertificateProperties object itself.
    • thumbprint

      public String thumbprint()
      Get the thumbprint property: Certificate Thumbprint.
      Returns:
      the thumbprint 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<PublicCertificateProperties>
      Throws:
      IOException
    • fromJson

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