ServiceLevel Class

public final class ServiceLevel
extends ExpandableStringEnum<ServiceLevel>

serviceLevel The service level of the file system.

Field Summary

Modifier and Type Field and Description
static final ServiceLevel PREMIUM

Static value Premium for ServiceLevel.

static final ServiceLevel STANDARD

Static value Standard for ServiceLevel.

static final ServiceLevel STANDARD_ZRS

Static value StandardZRS for ServiceLevel.

static final ServiceLevel ULTRA

Static value Ultra for ServiceLevel.

Constructor Summary

Constructor Description
ServiceLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceLevel value.

Method Summary

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

Creates or finds a ServiceLevel from its string representation.

static Collection<ServiceLevel> values()

Gets known ServiceLevel values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

PREMIUM

public static final ServiceLevel PREMIUM

Static value Premium for ServiceLevel.

STANDARD

public static final ServiceLevel STANDARD

Static value Standard for ServiceLevel.

STANDARD_ZRS

public static final ServiceLevel STANDARD_ZRS

Static value StandardZRS for ServiceLevel.

ULTRA

public static final ServiceLevel ULTRA

Static value Ultra for ServiceLevel.

Constructor Details

ServiceLevel

@Deprecated
public ServiceLevel()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceLevel value.

Method Details

fromString

public static ServiceLevel fromString(String name)

Creates or finds a ServiceLevel from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServiceLevel.

values

public static Collection values()

Gets known ServiceLevel values.

Returns:

known ServiceLevel values.

Applies to