FirewallPolicyFilterRule Class

public class FirewallPolicyFilterRule
extends FirewallPolicyRule

Firewall Policy Filter Rule.

Constructor Summary

Constructor Description
FirewallPolicyFilterRule()

Method Summary

Modifier and Type Method and Description
FirewallPolicyFilterRuleAction action()

Get the action type of a Filter rule.

java.util.List<FirewallPolicyRuleCondition> ruleConditions()

Get collection of rule conditions used by a rule.

FirewallPolicyFilterRule withAction(FirewallPolicyFilterRuleAction action)

Set the action type of a Filter rule.

FirewallPolicyFilterRule withRuleConditions(List<FirewallPolicyRuleCondition> ruleConditions)

Set collection of rule conditions used by a rule.

Methods inherited from FirewallPolicyRule

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FirewallPolicyFilterRule

public FirewallPolicyFilterRule()

Method Details

action

public FirewallPolicyFilterRuleAction action()

Get the action type of a Filter rule.

Returns:

the action value

ruleConditions

public List ruleConditions()

Get collection of rule conditions used by a rule.

Returns:

the ruleConditions value

withAction

public FirewallPolicyFilterRule withAction(FirewallPolicyFilterRuleAction action)

Set the action type of a Filter rule.

Parameters:

action - the action value to set

Returns:

the FirewallPolicyFilterRule object itself.

withRuleConditions

public FirewallPolicyFilterRule withRuleConditions(List ruleConditions)

Set collection of rule conditions used by a rule.

Parameters:

ruleConditions - the ruleConditions value to set

Returns:

the FirewallPolicyFilterRule object itself.

Applies to