Class VpnClientParameters
- java.lang.Object
-
- com.azure.resourcemanager.network.models.VpnClientParameters
-
public final class VpnClientParameters extends Object
Vpn Client Parameters for package generation.
-
-
Constructor Summary
Constructors Constructor Description VpnClientParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMethodauthenticationMethod()Get the authenticationMethod property: VPN client authentication method.List<String>clientRootCertificates()Get the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings.ProcessorArchitectureprocessorArchitecture()Get the processorArchitecture property: VPN client Processor Architecture.StringradiusServerAuthCertificate()Get the radiusServerAuthCertificate property: The public certificate data for the radius server authentication certificate as a Base-64 encoded string.voidvalidate()Validates the instance.VpnClientParameterswithAuthenticationMethod(AuthenticationMethod authenticationMethod)Set the authenticationMethod property: VPN client authentication method.VpnClientParameterswithClientRootCertificates(List<String> clientRootCertificates)Set the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings.VpnClientParameterswithProcessorArchitecture(ProcessorArchitecture processorArchitecture)Set the processorArchitecture property: VPN client Processor Architecture.VpnClientParameterswithRadiusServerAuthCertificate(String radiusServerAuthCertificate)Set the radiusServerAuthCertificate property: The public certificate data for the radius server authentication certificate as a Base-64 encoded string.
-
-
-
Method Detail
-
processorArchitecture
public ProcessorArchitecture processorArchitecture()
Get the processorArchitecture property: VPN client Processor Architecture.- Returns:
- the processorArchitecture value.
-
withProcessorArchitecture
public VpnClientParameters withProcessorArchitecture(ProcessorArchitecture processorArchitecture)
Set the processorArchitecture property: VPN client Processor Architecture.- Parameters:
processorArchitecture- the processorArchitecture value to set.- Returns:
- the VpnClientParameters object itself.
-
authenticationMethod
public AuthenticationMethod authenticationMethod()
Get the authenticationMethod property: VPN client authentication method.- Returns:
- the authenticationMethod value.
-
withAuthenticationMethod
public VpnClientParameters withAuthenticationMethod(AuthenticationMethod authenticationMethod)
Set the authenticationMethod property: VPN client authentication method.- Parameters:
authenticationMethod- the authenticationMethod value to set.- Returns:
- the VpnClientParameters object itself.
-
radiusServerAuthCertificate
public String radiusServerAuthCertificate()
Get the radiusServerAuthCertificate property: 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.
-
withRadiusServerAuthCertificate
public VpnClientParameters withRadiusServerAuthCertificate(String radiusServerAuthCertificate)
Set the radiusServerAuthCertificate property: 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.- Parameters:
radiusServerAuthCertificate- the radiusServerAuthCertificate value to set.- Returns:
- the VpnClientParameters object itself.
-
clientRootCertificates
public List<String> clientRootCertificates()
Get the clientRootCertificates property: 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.
-
withClientRootCertificates
public VpnClientParameters withClientRootCertificates(List<String> clientRootCertificates)
Set the clientRootCertificates property: A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.- Parameters:
clientRootCertificates- the clientRootCertificates value to set.- Returns:
- the VpnClientParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-