Class P2SVpnProfileParameters
- java.lang.Object
-
- com.azure.resourcemanager.network.models.P2SVpnProfileParameters
-
public final class P2SVpnProfileParameters extends Object
Vpn Client Parameters for package generation.
-
-
Constructor Summary
Constructors Constructor Description P2SVpnProfileParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMethodauthenticationMethod()Get the authenticationMethod property: VPN client authentication method.voidvalidate()Validates the instance.P2SVpnProfileParameterswithAuthenticationMethod(AuthenticationMethod authenticationMethod)Set the authenticationMethod property: VPN client authentication method.
-
-
-
Method Detail
-
authenticationMethod
public AuthenticationMethod authenticationMethod()
Get the authenticationMethod property: VPN client authentication method.- Returns:
- the authenticationMethod value.
-
withAuthenticationMethod
public P2SVpnProfileParameters withAuthenticationMethod(AuthenticationMethod authenticationMethod)
Set the authenticationMethod property: VPN client authentication method.- Parameters:
authenticationMethod- the authenticationMethod value to set.- Returns:
- the P2SVpnProfileParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-