VpnClientRevokedCertificate Class

public final class VpnClientRevokedCertificate
extends SubResource

VPN client revoked certificate of virtual network gateway.

Constructor Summary

Constructor Description
VpnClientRevokedCertificate()

Creates an instance of VpnClientRevokedCertificate class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static VpnClientRevokedCertificate fromJson(JsonReader jsonReader)

Reads an instance of VpnClientRevokedCertificate from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VPN client revoked certificate resource.

String thumbprint()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VpnClientRevokedCertificate withId(String id)
VpnClientRevokedCertificate withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

VpnClientRevokedCertificate withThumbprint(String thumbprint)

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

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VpnClientRevokedCertificate

public VpnClientRevokedCertificate()

Creates an instance of VpnClientRevokedCertificate class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static VpnClientRevokedCertificate fromJson(JsonReader jsonReader)

Reads an instance of VpnClientRevokedCertificate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VPN client revoked certificate resource.

Returns:

the provisioningState 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)

Overrides:

VpnClientRevokedCertificate.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public VpnClientRevokedCertificate withId(String id)

Overrides:

VpnClientRevokedCertificate.withId(String id)

Parameters:

id

withName

public VpnClientRevokedCertificate withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the VpnClientRevokedCertificate object itself.

withThumbprint

public VpnClientRevokedCertificate withThumbprint(String thumbprint)

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

Parameters:

thumbprint - the thumbprint value to set.

Returns:

the VpnClientRevokedCertificate object itself.

Applies to