public static enum InboundNatRuleProperties.Protocol extends Enum<InboundNatRuleProperties.Protocol>
Enum Constant and Description |
---|
Tcp |
Udp |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static InboundNatRuleProperties.Protocol |
fromValue(String text) |
String |
toString() |
static InboundNatRuleProperties.Protocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InboundNatRuleProperties.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InboundNatRuleProperties.Protocol Tcp
public static final InboundNatRuleProperties.Protocol Udp
public static final InboundNatRuleProperties.Protocol UNRECOGNIZED
public static InboundNatRuleProperties.Protocol[] values()
for (InboundNatRuleProperties.Protocol c : InboundNatRuleProperties.Protocol.values()) System.out.println(c);
public static InboundNatRuleProperties.Protocol 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 InboundNatRuleProperties.Protocol fromValue(String text)
public String toString()
toString
in class Enum<InboundNatRuleProperties.Protocol>
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.