public static enum NeutronFirewallRule.IPProtocol extends Enum<NeutronFirewallRule.IPProtocol>
IPProtocolType of a Neutron (Firewall Rule - FwaaS) entity.
Represents an IPProtocolType of a Neutron (Firewall Rule - FwaaS) entity.
Enum Constant and Description |
---|
ICMP |
TCP |
UDP |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
String |
value() |
static NeutronFirewallRule.IPProtocol |
value(String v) |
static NeutronFirewallRule.IPProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NeutronFirewallRule.IPProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeutronFirewallRule.IPProtocol TCP
public static final NeutronFirewallRule.IPProtocol UDP
public static final NeutronFirewallRule.IPProtocol ICMP
public static final NeutronFirewallRule.IPProtocol UNRECOGNIZED
public static NeutronFirewallRule.IPProtocol[] values()
for (NeutronFirewallRule.IPProtocol c : NeutronFirewallRule.IPProtocol.values()) System.out.println(c);
public static NeutronFirewallRule.IPProtocol 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.IPProtocol value(String v)
public String value()
Copyright © 2017. All rights reserved.