Partilhar via


ServiceSize Class

public final class ServiceSize
extends ExpandableStringEnum<ServiceSize>

Instance type for the service.

Field Summary

Modifier and Type Field and Description
static final ServiceSize COSMOS_D16S

Static value Cosmos.D16s for ServiceSize.

static final ServiceSize COSMOS_D4S

Static value Cosmos.D4s for ServiceSize.

static final ServiceSize COSMOS_D8S

Static value Cosmos.D8s for ServiceSize.

Constructor Summary

Constructor Description
ServiceSize()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceSize value.

Method Summary

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

Creates or finds a ServiceSize from its string representation.

static Collection<ServiceSize> values()

Gets known ServiceSize values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COSMOS_D16S

public static final ServiceSize COSMOS_D16S

Static value Cosmos.D16s for ServiceSize.

COSMOS_D4S

public static final ServiceSize COSMOS_D4S

Static value Cosmos.D4s for ServiceSize.

COSMOS_D8S

public static final ServiceSize COSMOS_D8S

Static value Cosmos.D8s for ServiceSize.

Constructor Details

ServiceSize

@Deprecated
public ServiceSize()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceSize value.

Method Details

fromString

public static ServiceSize fromString(String name)

Creates or finds a ServiceSize from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServiceSize.

values

public static Collection values()

Gets known ServiceSize values.

Returns:

known ServiceSize values.

Applies to