VpnServerConfigRadiusServerRootCertificate Class

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

Implements

public final class VpnServerConfigRadiusServerRootCertificate
implements JsonSerializable<VpnServerConfigRadiusServerRootCertificate>

Properties of Radius Server root certificate of VpnServerConfiguration.

Constructor Summary

Constructor Description
VpnServerConfigRadiusServerRootCertificate()

Creates an instance of VpnServerConfigRadiusServerRootCertificate class.

Method Summary

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

Reads an instance of VpnServerConfigRadiusServerRootCertificate 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.

VpnServerConfigRadiusServerRootCertificate withName(String name)

Set the name property: The certificate name.

VpnServerConfigRadiusServerRootCertificate withPublicCertData(String publicCertData)

Set the publicCertData property: The certificate public data.

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigRadiusServerRootCertificate

public VpnServerConfigRadiusServerRootCertificate()

Creates an instance of VpnServerConfigRadiusServerRootCertificate class.

Method Details

fromJson

public static VpnServerConfigRadiusServerRootCertificate fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigRadiusServerRootCertificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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 VpnServerConfigRadiusServerRootCertificate withName(String name)

Set the name property: The certificate name.

Parameters:

name - the name value to set.

Returns:

the VpnServerConfigRadiusServerRootCertificate object itself.

withPublicCertData

public VpnServerConfigRadiusServerRootCertificate withPublicCertData(String publicCertData)

Set the publicCertData property: The certificate public data.

Parameters:

publicCertData - the publicCertData value to set.

Returns:

the VpnServerConfigRadiusServerRootCertificate object itself.

Applies to