Interface WebApplicationFirewallPolicy.UpdateStages.WithMode
- All Known Subinterfaces:
WebApplicationFirewallPolicy.Update, WebApplicationFirewallPolicy.UpdateStages.WithRequestBodyOrUpdate
- Enclosing interface:
WebApplicationFirewallPolicy.UpdateStages
public static interface WebApplicationFirewallPolicy.UpdateStages.WithMode
The stage of a Web Application Firewall Policy update allowing to specify the mode of the policy.
-
Method Summary
Modifier and TypeMethodDescriptionSpecify that the mode of the Web Application Firewall Policy be Detection.Specify the mode of the Web Application Firewall Policy.Specify that the mode of the Web Application Firewall Policy be Protection.
-
Method Details
-
withDetectionMode
WebApplicationFirewallPolicy.Update withDetectionMode()Specify that the mode of the Web Application Firewall Policy be Detection.- Returns:
- the next stage of the update
-
withPreventionMode
WebApplicationFirewallPolicy.Update withPreventionMode()Specify that the mode of the Web Application Firewall Policy be Protection.- Returns:
- the next stage of the update
-
withMode
Specify the mode of the Web Application Firewall Policy.- Parameters:
mode- the mode of the policy- Returns:
- the next stage of the update
-