AllocationMethod Class

public final class AllocationMethod
extends ExpandableStringEnum<AllocationMethod>

Defines values for AllocationMethod.

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()

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

public AllocationMethod()

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 values()

Gets known AllocationMethod values.

Returns:

known AllocationMethod values.

Applies to

Azure SDK for Java

Preview