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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Vpn Client Parameters for package generation.
/**
* Vpn Client Parameters for package generation.
*/
public class VpnClientParameters {
VPN client Processor Architecture. Possible values include: 'Amd64',
'X86'.
/**
* VPN client Processor Architecture. Possible values include: 'Amd64',
* 'X86'.
*/
@JsonProperty(value = "processorArchitecture")
private ProcessorArchitecture processorArchitecture;
VPN client authentication method. Possible values include: 'EAPTLS',
'EAPMSCHAPv2'.
/**
* VPN client authentication method. Possible values include: 'EAPTLS',
* 'EAPMSCHAPv2'.
*/
@JsonProperty(value = "authenticationMethod")
private AuthenticationMethod authenticationMethod;
The public certificate data for the radius server authentication
certificate as a Base-64 encoded string. Required only if external
radius authentication has been configured with EAPTLS authentication.
/**
* The public certificate data for the radius server authentication
* certificate as a Base-64 encoded string. Required only if external
* radius authentication has been configured with EAPTLS authentication.
*/
@JsonProperty(value = "radiusServerAuthCertificate")
private String radiusServerAuthCertificate;
A list of client root certificates public certificate data encoded as
Base-64 strings. Optional parameter for external radius based
authentication with EAPTLS.
/**
* A list of client root certificates public certificate data encoded as
* Base-64 strings. Optional parameter for external radius based
* authentication with EAPTLS.
*/
@JsonProperty(value = "clientRootCertificates")
private List<String> clientRootCertificates;
Get vPN client Processor Architecture. Possible values include: 'Amd64', 'X86'.
Returns: the processorArchitecture value
/**
* Get vPN client Processor Architecture. Possible values include: 'Amd64', 'X86'.
*
* @return the processorArchitecture value
*/
public ProcessorArchitecture processorArchitecture() {
return this.processorArchitecture;
}
Set vPN client Processor Architecture. Possible values include: 'Amd64', 'X86'.
Params: - processorArchitecture – the processorArchitecture value to set
Returns: the VpnClientParameters object itself.
/**
* Set vPN client Processor Architecture. Possible values include: 'Amd64', 'X86'.
*
* @param processorArchitecture the processorArchitecture value to set
* @return the VpnClientParameters object itself.
*/
public VpnClientParameters withProcessorArchitecture(ProcessorArchitecture processorArchitecture) {
this.processorArchitecture = processorArchitecture;
return this;
}
Get vPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'.
Returns: the authenticationMethod value
/**
* Get vPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'.
*
* @return the authenticationMethod value
*/
public AuthenticationMethod authenticationMethod() {
return this.authenticationMethod;
}
Set vPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'.
Params: - authenticationMethod – the authenticationMethod value to set
Returns: the VpnClientParameters object itself.
/**
* Set vPN client authentication method. Possible values include: 'EAPTLS', 'EAPMSCHAPv2'.
*
* @param authenticationMethod the authenticationMethod value to set
* @return the VpnClientParameters object itself.
*/
public VpnClientParameters withAuthenticationMethod(AuthenticationMethod authenticationMethod) {
this.authenticationMethod = authenticationMethod;
return this;
}
Get the public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
Returns: the radiusServerAuthCertificate value
/**
* Get the public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
*
* @return the radiusServerAuthCertificate value
*/
public String radiusServerAuthCertificate() {
return this.radiusServerAuthCertificate;
}
Set the public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
Params: - radiusServerAuthCertificate – the radiusServerAuthCertificate value to set
Returns: the VpnClientParameters object itself.
/**
* Set the public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication.
*
* @param radiusServerAuthCertificate the radiusServerAuthCertificate value to set
* @return the VpnClientParameters object itself.
*/
public VpnClientParameters withRadiusServerAuthCertificate(String radiusServerAuthCertificate) {
this.radiusServerAuthCertificate = radiusServerAuthCertificate;
return this;
}
Get a list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
Returns: the clientRootCertificates value
/**
* Get a list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
*
* @return the clientRootCertificates value
*/
public List<String> clientRootCertificates() {
return this.clientRootCertificates;
}
Set a list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
Params: - clientRootCertificates – the clientRootCertificates value to set
Returns: the VpnClientParameters object itself.
/**
* Set a list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.
*
* @param clientRootCertificates the clientRootCertificates value to set
* @return the VpnClientParameters object itself.
*/
public VpnClientParameters withClientRootCertificates(List<String> clientRootCertificates) {
this.clientRootCertificates = clientRootCertificates;
return this;
}
}