Interface WebApplicationFirewallPolicy.DefinitionStages.WithMode
- All Known Subinterfaces:
WebApplicationFirewallPolicy.Definition,WebApplicationFirewallPolicy.DefinitionStages.WithCreate,WebApplicationFirewallPolicy.DefinitionStages.WithManagedRulesOrCreate,WebApplicationFirewallPolicy.DefinitionStages.WithRequestBodyOrCreate
- Enclosing interface:
WebApplicationFirewallPolicy.DefinitionStages
public static interface WebApplicationFirewallPolicy.DefinitionStages.WithMode
The stage of a Web Application Firewall Policy definition 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.Specify that the mode of the Web Application Firewall Policy be Protection.
-
Method Details
-
withDetectionMode
WebApplicationFirewallPolicy.DefinitionStages.WithCreate withDetectionMode()Specify that the mode of the Web Application Firewall Policy be Detection.- Returns:
- the next stage of the definition
-
withPreventionMode
WebApplicationFirewallPolicy.DefinitionStages.WithCreate withPreventionMode()Specify that the mode of the Web Application Firewall Policy be Protection.- Returns:
- the next stage of the definition
-
withMode
Specify the mode of the Web Application Firewall.- Parameters:
mode- the mode of the policy- Returns:
- the next stage of the definition
-