VpnServerConfigVpnClientRootCertificate Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VpnServerConfigVpnClientRootCertificate

Implements

public final class VpnServerConfigVpnClientRootCertificate
implements JsonSerializable<VpnServerConfigVpnClientRootCertificate>

Properties of VPN client root certificate of VpnServerConfiguration.

Constructor Summary

Constructor Description
VpnServerConfigVpnClientRootCertificate()

Creates an instance of VpnServerConfigVpnClientRootCertificate class.

Method Summary

Modifier and Type Method and Description
static VpnServerConfigVpnClientRootCertificate fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigVpnClientRootCertificate from the JsonReader.

String name()

Get the name property: The certificate name.

String publicCertData()

Get the publicCertData property: The certificate public data.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VpnServerConfigVpnClientRootCertificate withName(String name)

Set the name property: The certificate name.

VpnServerConfigVpnClientRootCertificate withPublicCertData(String publicCertData)

Set the publicCertData property: The certificate public data.

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigVpnClientRootCertificate

public VpnServerConfigVpnClientRootCertificate()

Creates an instance of VpnServerConfigVpnClientRootCertificate class.

Method Details

fromJson

public static VpnServerConfigVpnClientRootCertificate fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigVpnClientRootCertificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnServerConfigVpnClientRootCertificate 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 VpnServerConfigVpnClientRootCertificate.

name

public String name()

Get the name property: The certificate name.

Returns:

the name value.

publicCertData

public String publicCertData()

Get the publicCertData property: The certificate public data.

Returns:

the publicCertData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public VpnServerConfigVpnClientRootCertificate withName(String name)

Set the name property: The certificate name.

Parameters:

name - the name value to set.

Returns:

the VpnServerConfigVpnClientRootCertificate object itself.

withPublicCertData

public VpnServerConfigVpnClientRootCertificate withPublicCertData(String publicCertData)

Set the publicCertData property: The certificate public data.

Parameters:

publicCertData - the publicCertData value to set.

Returns:

the VpnServerConfigVpnClientRootCertificate object itself.

Applies to