Class P2SVpnProfileParameters
java.lang.Object
com.azure.resourcemanager.network.models.P2SVpnProfileParameters
Vpn Client Parameters for package generation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of P2SVpnProfileParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationMethod property: VPN client authentication method.voidvalidate()Validates the instance.withAuthenticationMethod(AuthenticationMethod authenticationMethod) Set the authenticationMethod property: VPN client authentication method.
-
Constructor Details
-
P2SVpnProfileParameters
public P2SVpnProfileParameters()Creates an instance of P2SVpnProfileParameters class.
-
-
Method Details
-
authenticationMethod
Get the authenticationMethod property: VPN client authentication method.- Returns:
- the authenticationMethod value.
-
withAuthenticationMethod
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.
-