Class FirewallRuleStrategy
- java.lang.Object
-
- org.openstack4j.openstack.networking.domain.ext.FirewallRuleStrategy
-
- All Implemented Interfaces:
Serializable,ModelEntity
public class FirewallRuleStrategy extends Object implements ModelEntity
Inserts a firewall rule in a firewall policy relative to the position of other rules.- Author:
- Vishvesh Deshmukh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFirewallRuleStrategy.RuleInsertStrategyTypeUsed to dictate insert strategy during Inserting a Firewall Rule in a Firewall Policy.
-
Constructor Summary
Constructors Constructor Description FirewallRuleStrategy()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FirewallRuleStrategycreate(String firewallRuleId, FirewallRuleStrategy.RuleInsertStrategyType type, String insertAfterOrBeforeRuleId)StringgetFirewallRuleId()StringgetInsertAfterRuleId()StringgetInsertBeforeRuleId()static FirewallRuleStrategyremove(String firewallRuleId)
-
-
-
Method Detail
-
create
public static FirewallRuleStrategy create(String firewallRuleId, FirewallRuleStrategy.RuleInsertStrategyType type, String insertAfterOrBeforeRuleId)
-
remove
public static FirewallRuleStrategy remove(String firewallRuleId)
-
getFirewallRuleId
public String getFirewallRuleId()
-
getInsertAfterRuleId
public String getInsertAfterRuleId()
-
getInsertBeforeRuleId
public String getInsertBeforeRuleId()
-
-