ApiKey Class

public final class ApiKey
extends ExpandableStringEnum<ApiKey>

Defines values for ApiKey.

Field Summary

Modifier and Type Field and Description
static final ApiKey DISABLED

Static value Disabled for ApiKey.

static final ApiKey ENABLED

Static value Enabled for ApiKey.

Constructor Summary

Constructor Description
ApiKey()

Method Summary

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

Creates or finds a ApiKey from its string representation.

static Collection<ApiKey> values()

Gets known ApiKey values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ApiKey DISABLED

Static value Disabled for ApiKey.

ENABLED

public static final ApiKey ENABLED

Static value Enabled for ApiKey.

Constructor Details

ApiKey

public ApiKey()

Method Details

fromString

public static ApiKey fromString(String name)

Creates or finds a ApiKey from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ApiKey.

values

public static Collection values()

Gets known ApiKey values.

Returns:

known ApiKey values.

Applies to

Azure SDK for Java

Preview