VpnServerConfigVpnClientRevokedCertificate Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VpnServerConfigVpnClientRevokedCertificate
- com.
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 Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
String |
name()
Get the name property: The certificate name. |
String |
thumbprint()
Get the thumbprint property: The revoked VPN client certificate thumbprint. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vpn |
withName(String name)
Set the name property: The certificate name. |
Vpn |
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:
Returns:
Throws:
name
public String name()
Get the name property: The certificate name.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: The revoked VPN client certificate thumbprint.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public VpnServerConfigVpnClientRevokedCertificate withName(String name)
Set the name property: The certificate name.
Parameters:
Returns:
withThumbprint
public VpnServerConfigVpnClientRevokedCertificate withThumbprint(String thumbprint)
Set the thumbprint property: The revoked VPN client certificate thumbprint.
Parameters:
Returns:
Applies to
Azure SDK for Java