ApplicationGatewayWebApplicationFirewallConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ApplicationGatewayWebApplicationFirewallConfiguration

public class ApplicationGatewayWebApplicationFirewallConfiguration

Application gateway web application firewall configuration.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups()

Get the disabledRuleGroups value.

boolean enabled()

Get the enabled value.

ApplicationGatewayFirewallMode firewallMode()

Get the firewallMode value.

String ruleSetType()

Get the ruleSetType value.

String ruleSetVersion()

Get the ruleSetVersion value.

ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List<ApplicationGatewayFirewallDisabledRuleGroup> disabledRuleGroups)

Set the disabledRuleGroups value.

ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)

Set the enabled value.

ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)

Set the firewallMode value.

ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)

Set the ruleSetType value.

ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)

Set the ruleSetVersion value.

Method Details

disabledRuleGroups

public List disabledRuleGroups()

Get the disabledRuleGroups value.

Returns:

the disabledRuleGroups value

enabled

public boolean enabled()

Get the enabled value.

Returns:

the enabled value

firewallMode

public ApplicationGatewayFirewallMode firewallMode()

Get the firewallMode value.

Returns:

the firewallMode value

ruleSetType

public String ruleSetType()

Get the ruleSetType value.

Returns:

the ruleSetType value

ruleSetVersion

public String ruleSetVersion()

Get the ruleSetVersion value.

Returns:

the ruleSetVersion value

withDisabledRuleGroups

public ApplicationGatewayWebApplicationFirewallConfiguration withDisabledRuleGroups(List disabledRuleGroups)

Set the disabledRuleGroups value.

Parameters:

disabledRuleGroups - the disabledRuleGroups value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withEnabled

public ApplicationGatewayWebApplicationFirewallConfiguration withEnabled(boolean enabled)

Set the enabled value.

Parameters:

enabled - the enabled value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withFirewallMode

public ApplicationGatewayWebApplicationFirewallConfiguration withFirewallMode(ApplicationGatewayFirewallMode firewallMode)

Set the firewallMode value.

Parameters:

firewallMode - the firewallMode value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withRuleSetType

public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetType(String ruleSetType)

Set the ruleSetType value.

Parameters:

ruleSetType - the ruleSetType value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

withRuleSetVersion

public ApplicationGatewayWebApplicationFirewallConfiguration withRuleSetVersion(String ruleSetVersion)

Set the ruleSetVersion value.

Parameters:

ruleSetVersion - the ruleSetVersion value to set

Returns:

the ApplicationGatewayWebApplicationFirewallConfiguration object itself.

Applies to