StorageType Class

public final class StorageType
extends ExpandableStringEnum<StorageType>

The storage type for the disk (i.e. Standard, Premium).

Field Summary

Modifier and Type Field and Description
static final StorageType PREMIUM

Static value Premium for StorageType.

static final StorageType STANDARD

Static value Standard for StorageType.

static final StorageType STANDARD_SSD

Static value StandardSSD for StorageType.

Constructor Summary

Constructor Description
StorageType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageType value.

Method Summary

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

Creates or finds a StorageType from its string representation.

static Collection<StorageType> values()

Gets known StorageType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PREMIUM

public static final StorageType PREMIUM

Static value Premium for StorageType.

STANDARD

public static final StorageType STANDARD

Static value Standard for StorageType.

STANDARD_SSD

public static final StorageType STANDARD_SSD

Static value StandardSSD for StorageType.

Constructor Details

StorageType

@Deprecated
public StorageType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageType value.

Method Details

fromString

public static StorageType fromString(String name)

Creates or finds a StorageType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StorageType.

values

public static Collection values()

Gets known StorageType values.

Returns:

known StorageType values.

Applies to