Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for FirewallPolicyRuleConditionNetworkProtocol.
/** * Defines values for FirewallPolicyRuleConditionNetworkProtocol. */
public final class FirewallPolicyRuleConditionNetworkProtocol extends ExpandableStringEnum<FirewallPolicyRuleConditionNetworkProtocol> {
Static value TCP for FirewallPolicyRuleConditionNetworkProtocol.
/** Static value TCP for FirewallPolicyRuleConditionNetworkProtocol. */
public static final FirewallPolicyRuleConditionNetworkProtocol TCP = fromString("TCP");
Static value UDP for FirewallPolicyRuleConditionNetworkProtocol.
/** Static value UDP for FirewallPolicyRuleConditionNetworkProtocol. */
public static final FirewallPolicyRuleConditionNetworkProtocol UDP = fromString("UDP");
Static value Any for FirewallPolicyRuleConditionNetworkProtocol.
/** Static value Any for FirewallPolicyRuleConditionNetworkProtocol. */
public static final FirewallPolicyRuleConditionNetworkProtocol ANY = fromString("Any");
Static value ICMP for FirewallPolicyRuleConditionNetworkProtocol.
/** Static value ICMP for FirewallPolicyRuleConditionNetworkProtocol. */
public static final FirewallPolicyRuleConditionNetworkProtocol ICMP = fromString("ICMP");
Creates or finds a FirewallPolicyRuleConditionNetworkProtocol from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding FirewallPolicyRuleConditionNetworkProtocol
/** * Creates or finds a FirewallPolicyRuleConditionNetworkProtocol from its string representation. * @param name a name to look for * @return the corresponding FirewallPolicyRuleConditionNetworkProtocol */
@JsonCreator public static FirewallPolicyRuleConditionNetworkProtocol fromString(String name) { return fromString(name, FirewallPolicyRuleConditionNetworkProtocol.class); }
Returns:known FirewallPolicyRuleConditionNetworkProtocol values
/** * @return known FirewallPolicyRuleConditionNetworkProtocol values */
public static Collection<FirewallPolicyRuleConditionNetworkProtocol> values() { return values(FirewallPolicyRuleConditionNetworkProtocol.class); } }