Class ApplicationGatewayWebApplicationFirewallConfiguration
- java.lang.Object
-
- com.microsoft.azure.management.network.ApplicationGatewayWebApplicationFirewallConfiguration
-
public class ApplicationGatewayWebApplicationFirewallConfiguration extends Object
Application gateway web application firewall configuration.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayWebApplicationFirewallConfiguration()
-
Method Summary
-
-
-
Method Detail
-
enabled
public boolean enabled()
Get the enabled value.- Returns:
- the enabled value
-
withEnabled
public ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)
Set the enabled value.- Parameters:
enabled- the enabled value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
firewallMode
public ApplicationGatewayFirewallMode firewallMode()
Get the firewallMode value.- Returns:
- the firewallMode value
-
withFirewallMode
public ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)
Set the firewallMode value.- Parameters:
firewallMode- the firewallMode value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
ruleSetType
public String ruleSetType()
Get the ruleSetType value.- Returns:
- the ruleSetType value
-
withRuleSetType
public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)
Set the ruleSetType value.- Parameters:
ruleSetType- the ruleSetType value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
ruleSetVersion
public String ruleSetVersion()
Get the ruleSetVersion value.- Returns:
- the ruleSetVersion value
-
withRuleSetVersion
public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)
Set the ruleSetVersion value.- Parameters:
ruleSetVersion- the ruleSetVersion value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
disabledRuleGroups
public List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups()
Get the disabledRuleGroups value.- Returns:
- the disabledRuleGroups value
-
withDisabledRuleGroups
public ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups)
Set the disabledRuleGroups value.- Parameters:
disabledRuleGroups- the disabledRuleGroups value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
requestBodyCheck
public Boolean requestBodyCheck()
Get the requestBodyCheck value.- Returns:
- the requestBodyCheck value
-
withRequestBodyCheck
public ApplicationGatewayWebApplicationFirewallConfiguration withRequestBodyCheck(Boolean requestBodyCheck)
Set the requestBodyCheck value.- Parameters:
requestBodyCheck- the requestBodyCheck value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
maxRequestBodySize
public Integer maxRequestBodySize()
Get the maxRequestBodySize value.- Returns:
- the maxRequestBodySize value
-
withMaxRequestBodySize
public ApplicationGatewayWebApplicationFirewallConfiguration withMaxRequestBodySize(Integer maxRequestBodySize)
Set the maxRequestBodySize value.- Parameters:
maxRequestBodySize- the maxRequestBodySize value to set- Returns:
- the ApplicationGatewayWebApplicationFirewallConfiguration object itself.
-
-