UsagePermissionType Class

public final class UsagePermissionType
extends ExpandableStringEnum<UsagePermissionType>

The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).

Field Summary

Modifier and Type Field and Description
static final UsagePermissionType ALLOW

Static value Allow for UsagePermissionType.

static final UsagePermissionType DEFAULT

Static value Default for UsagePermissionType.

static final UsagePermissionType DENY

Static value Deny for UsagePermissionType.

Constructor Summary

Constructor Description
UsagePermissionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UsagePermissionType value.

Method Summary

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

Creates or finds a UsagePermissionType from its string representation.

static Collection<UsagePermissionType> values()

Gets known UsagePermissionType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final UsagePermissionType ALLOW

Static value Allow for UsagePermissionType.

DEFAULT

public static final UsagePermissionType DEFAULT

Static value Default for UsagePermissionType.

DENY

public static final UsagePermissionType DENY

Static value Deny for UsagePermissionType.

Constructor Details

UsagePermissionType

@Deprecated
public UsagePermissionType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UsagePermissionType value.

Method Details

fromString

public static UsagePermissionType fromString(String name)

Creates or finds a UsagePermissionType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UsagePermissionType.

values

public static Collection values()

Gets known UsagePermissionType values.

Returns:

known UsagePermissionType values.

Applies to