Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.fasterxml.jackson.annotation.JsonProperty;
Properties of the revoked VPN client certificate of VpnServerConfiguration.
/**
* Properties of the revoked VPN client certificate of VpnServerConfiguration.
*/
public class VpnServerConfigVpnClientRevokedCertificate {
The certificate name.
/**
* The certificate name.
*/
@JsonProperty(value = "name")
private String name;
The revoked VPN client certificate thumbprint.
/**
* The revoked VPN client certificate thumbprint.
*/
@JsonProperty(value = "thumbprint")
private String thumbprint;
Get the certificate name.
Returns: the name value
/**
* Get the certificate name.
*
* @return the name value
*/
public String name() {
return this.name;
}
Set the certificate name.
Params: - name – the name value to set
Returns: the VpnServerConfigVpnClientRevokedCertificate object itself.
/**
* Set the certificate name.
*
* @param name the name value to set
* @return the VpnServerConfigVpnClientRevokedCertificate object itself.
*/
public VpnServerConfigVpnClientRevokedCertificate withName(String name) {
this.name = name;
return this;
}
Get the revoked VPN client certificate thumbprint.
Returns: the thumbprint value
/**
* Get the revoked VPN client certificate thumbprint.
*
* @return the thumbprint value
*/
public String thumbprint() {
return this.thumbprint;
}
Set the revoked VPN client certificate thumbprint.
Params: - thumbprint – the thumbprint value to set
Returns: the VpnServerConfigVpnClientRevokedCertificate object itself.
/**
* Set the revoked VPN client certificate thumbprint.
*
* @param thumbprint the thumbprint value to set
* @return the VpnServerConfigVpnClientRevokedCertificate object itself.
*/
public VpnServerConfigVpnClientRevokedCertificate withThumbprint(String thumbprint) {
this.thumbprint = thumbprint;
return this;
}
}