VpnServerConfigVpnClientRevokedCertificate Class

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

Implements

public final class VpnServerConfigVpnClientRevokedCertificate
implements JsonSerializable<VpnServerConfigVpnClientRevokedCertificate>

Properties of the revoked VPN client certificate of VpnServerConfiguration.

Constructor Summary

Constructor Description
VpnServerConfigVpnClientRevokedCertificate()

Creates an instance of VpnServerConfigVpnClientRevokedCertificate class.

Method Summary

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

Reads an instance of VpnServerConfigVpnClientRevokedCertificate from the JsonReader.

String name()

Get the name property: The certificate name.

String thumbprint()

Get the thumbprint property: The revoked VPN client certificate thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VpnServerConfigVpnClientRevokedCertificate withName(String name)

Set the name property: The certificate name.

VpnServerConfigVpnClientRevokedCertificate withThumbprint(String thumbprint)

Set the thumbprint property: The revoked VPN client certificate thumbprint.

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigVpnClientRevokedCertificate

public VpnServerConfigVpnClientRevokedCertificate()

Creates an instance of VpnServerConfigVpnClientRevokedCertificate class.

Method Details

fromJson

public static VpnServerConfigVpnClientRevokedCertificate fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigVpnClientRevokedCertificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The certificate name.

Returns:

the name value.

thumbprint

public String thumbprint()

Get the thumbprint property: The revoked VPN client certificate thumbprint.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public VpnServerConfigVpnClientRevokedCertificate withName(String name)

Set the name property: The certificate name.

Parameters:

name - the name value to set.

Returns:

the VpnServerConfigVpnClientRevokedCertificate object itself.

withThumbprint

public VpnServerConfigVpnClientRevokedCertificate withThumbprint(String thumbprint)

Set the thumbprint property: The revoked VPN client certificate thumbprint.

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the VpnServerConfigVpnClientRevokedCertificate object itself.

Applies to