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 Summary
ConstructorsConstructorDescriptionCreates an instance of VpnClientRootCertificatePropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VpnClientRootCertificatePropertiesFormat from the JsonReader.Get the provisioningState property: The provisioning state of the VPN client root certificate resource.Get the publicCertData property: The certificate public data.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withPublicCertData(String publicCertData) Set the publicCertData property: The certificate public data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VpnClientRootCertificatePropertiesFormat
public VpnClientRootCertificatePropertiesFormat()Creates an instance of VpnClientRootCertificatePropertiesFormat class.
-
-
Method Details
-
publicCertData
Get the publicCertData property: The certificate public data.- Returns:
- the publicCertData value.
-
withPublicCertData
Set the publicCertData property: The certificate public data.- Parameters:
publicCertData- the publicCertData value to set.- Returns:
- the VpnClientRootCertificatePropertiesFormat object itself.
-
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
- Specified by:
toJsonin interfacecom.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.
-