Freigeben über


SecurityRuleAccess Class

public final class SecurityRuleAccess
extends ExpandableStringEnum<SecurityRuleAccess>

Whether network traffic is allowed or denied.

Field Summary

Modifier and Type Field and Description
static final SecurityRuleAccess ALLOW

Static value Allow for SecurityRuleAccess.

static final SecurityRuleAccess DENY

Static value Deny for SecurityRuleAccess.

Constructor Summary

Constructor Description
SecurityRuleAccess()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityRuleAccess value.

Method Summary

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

Creates or finds a SecurityRuleAccess from its string representation.

static Collection<SecurityRuleAccess> values()

Gets known SecurityRuleAccess values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final SecurityRuleAccess ALLOW

Static value Allow for SecurityRuleAccess.

DENY

public static final SecurityRuleAccess DENY

Static value Deny for SecurityRuleAccess.

Constructor Details

SecurityRuleAccess

@Deprecated
public SecurityRuleAccess()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityRuleAccess value.

Method Details

fromString

public static SecurityRuleAccess fromString(String name)

Creates or finds a SecurityRuleAccess from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityRuleAccess.

values

public static Collection values()

Gets known SecurityRuleAccess values.

Returns:

known SecurityRuleAccess values.

Applies to