Udostępnij za pośrednictwem


Sku Class

public final class Sku
extends ExpandableStringEnum<Sku>

The Sku name of the resource. The possible values are: Basic or Premium.

Field Summary

Modifier and Type Field and Description
static final Sku BASIC

Static value Basic for Sku.

static final Sku PREMIUM

Static value Premium for Sku.

Constructor Summary

Constructor Description
Sku()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Sku value.

Method Summary

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

Creates or finds a Sku from its string representation.

static Collection<Sku> values()

Gets known Sku values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BASIC

public static final Sku BASIC

Static value Basic for Sku.

PREMIUM

public static final Sku PREMIUM

Static value Premium for Sku.

Constructor Details

Sku

@Deprecated
public Sku()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Sku value.

Method Details

fromString

public static Sku fromString(String name)

Creates or finds a Sku from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Sku.

values

public static Collection<Sku> values()

Gets known Sku values.

Returns:

known Sku values.

Applies to