Enum NeutronFirewallRule.FirewallRuleAction
- java.lang.Object
-
- java.lang.Enum<NeutronFirewallRule.FirewallRuleAction>
-
- org.openstack4j.openstack.networking.domain.ext.NeutronFirewallRule.FirewallRuleAction
-
- All Implemented Interfaces:
Serializable,Comparable<NeutronFirewallRule.FirewallRuleAction>
- Enclosing class:
- NeutronFirewallRule
public static enum NeutronFirewallRule.FirewallRuleAction extends Enum<NeutronFirewallRule.FirewallRuleAction>
Action of a Neutron (Firewall Rule - FwaaS) entity.
Indicates whether firewall rule resource has action ALLOW/DENY.
- Author:
- Vishvesh Deshmukh
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWDENYUNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringvalue()static NeutronFirewallRule.FirewallRuleActionvalue(String v)static NeutronFirewallRule.FirewallRuleActionvalueOf(String name)Returns the enum constant of this type with the specified name.static NeutronFirewallRule.FirewallRuleAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOW
public static final NeutronFirewallRule.FirewallRuleAction ALLOW
-
DENY
public static final NeutronFirewallRule.FirewallRuleAction DENY
-
UNRECOGNIZED
public static final NeutronFirewallRule.FirewallRuleAction UNRECOGNIZED
-
-
Method Detail
-
values
public static NeutronFirewallRule.FirewallRuleAction[] 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 (NeutronFirewallRule.FirewallRuleAction c : NeutronFirewallRule.FirewallRuleAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NeutronFirewallRule.FirewallRuleAction 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
-
value
public static NeutronFirewallRule.FirewallRuleAction value(String v)
-
value
public String value()
-
-