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