AzureFirewallNetworkRuleProtocol Class

public final class AzureFirewallNetworkRuleProtocol
extends ExpandableStringEnum<AzureFirewallNetworkRuleProtocol>

The protocol of a Network Rule resource.

Field Summary

Modifier and Type Field and Description
static final AzureFirewallNetworkRuleProtocol ANY

Static value Any for AzureFirewallNetworkRuleProtocol.

static final AzureFirewallNetworkRuleProtocol ICMP

Static value ICMP for AzureFirewallNetworkRuleProtocol.

static final AzureFirewallNetworkRuleProtocol TCP

Static value TCP for AzureFirewallNetworkRuleProtocol.

static final AzureFirewallNetworkRuleProtocol UDP

Static value UDP for AzureFirewallNetworkRuleProtocol.

Constructor Summary

Constructor Description
AzureFirewallNetworkRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AzureFirewallNetworkRuleProtocol value.

Method Summary

Modifier and Type Method and Description
static AzureFirewallNetworkRuleProtocol fromString(String name)

Creates or finds a AzureFirewallNetworkRuleProtocol from its string representation.

static Collection<AzureFirewallNetworkRuleProtocol> values()

Gets known AzureFirewallNetworkRuleProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANY

public static final AzureFirewallNetworkRuleProtocol ANY

Static value Any for AzureFirewallNetworkRuleProtocol.

ICMP

public static final AzureFirewallNetworkRuleProtocol ICMP

Static value ICMP for AzureFirewallNetworkRuleProtocol.

TCP

public static final AzureFirewallNetworkRuleProtocol TCP

Static value TCP for AzureFirewallNetworkRuleProtocol.

UDP

public static final AzureFirewallNetworkRuleProtocol UDP

Static value UDP for AzureFirewallNetworkRuleProtocol.

Constructor Details

AzureFirewallNetworkRuleProtocol

@Deprecated
public AzureFirewallNetworkRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AzureFirewallNetworkRuleProtocol value.

Method Details

fromString

public static AzureFirewallNetworkRuleProtocol fromString(String name)

Creates or finds a AzureFirewallNetworkRuleProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AzureFirewallNetworkRuleProtocol.

values

public static Collection values()

Gets known AzureFirewallNetworkRuleProtocol values.

Returns:

known AzureFirewallNetworkRuleProtocol values.

Applies to