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.
Enum Constant and Description |
---|
ALLOW |
DENY |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
String |
value() |
static NeutronFirewallRule.FirewallRuleAction |
value(String v) |
static NeutronFirewallRule.FirewallRuleAction |
valueOf(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.
|
public static final NeutronFirewallRule.FirewallRuleAction ALLOW
public static final NeutronFirewallRule.FirewallRuleAction DENY
public static final NeutronFirewallRule.FirewallRuleAction UNRECOGNIZED
public static NeutronFirewallRule.FirewallRuleAction[] values()
for (NeutronFirewallRule.FirewallRuleAction c : NeutronFirewallRule.FirewallRuleAction.values()) System.out.println(c);
public static NeutronFirewallRule.FirewallRuleAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NeutronFirewallRule.FirewallRuleAction value(String v)
public String value()
Copyright © 2017. All rights reserved.