Class VpnClientRootCertificatePropertiesFormat

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

public final class VpnClientRootCertificatePropertiesFormat extends Object implements com.azure.json.JsonSerializable<VpnClientRootCertificatePropertiesFormat>
Properties of SSL certificates of application gateway.
  • Constructor Details

    • VpnClientRootCertificatePropertiesFormat

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

    • publicCertData

      public String publicCertData()
      Get the publicCertData property: The certificate public data.
      Returns:
      the publicCertData value.
    • withPublicCertData

      public VpnClientRootCertificatePropertiesFormat withPublicCertData(String publicCertData)
      Set the publicCertData property: The certificate public data.
      Parameters:
      publicCertData - the publicCertData value to set.
      Returns:
      the VpnClientRootCertificatePropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the VPN client root certificate resource.
      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<VpnClientRootCertificatePropertiesFormat>
      Throws:
      IOException
    • fromJson

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