Enum FirewallRuleStrategy.RuleInsertStrategyType
- java.lang.Object
-
- java.lang.Enum<FirewallRuleStrategy.RuleInsertStrategyType>
-
- org.openstack4j.openstack.networking.domain.ext.FirewallRuleStrategy.RuleInsertStrategyType
-
- All Implemented Interfaces:
Serializable,Comparable<FirewallRuleStrategy.RuleInsertStrategyType>
- Enclosing class:
- FirewallRuleStrategy
public static enum FirewallRuleStrategy.RuleInsertStrategyType extends Enum<FirewallRuleStrategy.RuleInsertStrategyType>
Used to dictate insert strategy during Inserting a Firewall Rule in a Firewall Policy.- Author:
- Vishvesh Deshmukh
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FirewallRuleStrategy.RuleInsertStrategyTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FirewallRuleStrategy.RuleInsertStrategyType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final FirewallRuleStrategy.RuleInsertStrategyType BEFORE
-
AFTER
public static final FirewallRuleStrategy.RuleInsertStrategyType AFTER
-
-
Method Detail
-
values
public static FirewallRuleStrategy.RuleInsertStrategyType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FirewallRuleStrategy.RuleInsertStrategyType c : FirewallRuleStrategy.RuleInsertStrategyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FirewallRuleStrategy.RuleInsertStrategyType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-