StorageKeyType Class

public final class StorageKeyType
extends ExpandableStringEnum<StorageKeyType>

Storage key type: StorageAccessKey or SharedAccessKey.

Field Summary

Modifier and Type Field and Description
static final StorageKeyType SHARED_ACCESS_KEY

Static value SharedAccessKey for StorageKeyType.

static final StorageKeyType STORAGE_ACCESS_KEY

Static value StorageAccessKey for StorageKeyType.

Constructor Summary

Constructor Description
StorageKeyType()

Method Summary

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

Creates or finds a StorageKeyType from its string representation.

static Collection<StorageKeyType> values()

Gets known StorageKeyType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SHARED_ACCESS_KEY

public static final StorageKeyType SHARED_ACCESS_KEY

Static value SharedAccessKey for StorageKeyType.

STORAGE_ACCESS_KEY

public static final StorageKeyType STORAGE_ACCESS_KEY

Static value StorageAccessKey for StorageKeyType.

Constructor Details

StorageKeyType

public StorageKeyType()

Method Details

fromString

public static StorageKeyType fromString(String name)

Creates or finds a StorageKeyType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StorageKeyType.

values

public static Collection values()

Gets known StorageKeyType values.

Returns:

known StorageKeyType values.

Applies to