AllocationMethod Class

public final class AllocationMethod
extends ExpandableStringEnum<AllocationMethod>

Network address allocation method.

Field Summary

Modifier and Type Field and Description
static final AllocationMethod DYNAMIC

Static value Dynamic for AllocationMethod.

static final AllocationMethod STATIC

Static value Static for AllocationMethod.

Constructor Summary

Constructor Description
AllocationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AllocationMethod value.

Method Summary

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

Creates or finds a AllocationMethod from its string representation.

static Collection<AllocationMethod> values()

Gets known AllocationMethod values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DYNAMIC

public static final AllocationMethod DYNAMIC

Static value Dynamic for AllocationMethod.

STATIC

public static final AllocationMethod STATIC

Static value Static for AllocationMethod.

Constructor Details

AllocationMethod

@Deprecated
public AllocationMethod()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AllocationMethod value.

Method Details

fromString

public static AllocationMethod fromString(String name)

Creates or finds a AllocationMethod from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AllocationMethod.

values

public static Collection<AllocationMethod> values()

Gets known AllocationMethod values.

Returns:

known AllocationMethod values.

Applies to