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 VPN client root certificate of VpnServerConfiguration.
/** * Properties of VPN client root certificate of VpnServerConfiguration. */
public class VpnServerConfigVpnClientRootCertificate {
The certificate name.
/** * The certificate name. */
@JsonProperty(value = "name") private String name;
The certificate public data.
/** * The certificate public data. */
@JsonProperty(value = "publicCertData") private String publicCertData;
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 VpnServerConfigVpnClientRootCertificate object itself.
/** * Set the certificate name. * * @param name the name value to set * @return the VpnServerConfigVpnClientRootCertificate object itself. */
public VpnServerConfigVpnClientRootCertificate withName(String name) { this.name = name; return this; }
Get the certificate public data.
Returns:the publicCertData value
/** * Get the certificate public data. * * @return the publicCertData value */
public String publicCertData() { return this.publicCertData; }
Set the certificate public data.
Params:
  • publicCertData – the publicCertData value to set
Returns:the VpnServerConfigVpnClientRootCertificate object itself.
/** * Set the certificate public data. * * @param publicCertData the publicCertData value to set * @return the VpnServerConfigVpnClientRootCertificate object itself. */
public VpnServerConfigVpnClientRootCertificate withPublicCertData(String publicCertData) { this.publicCertData = publicCertData; return this; } }