GpuSku Class

public final class GpuSku
extends ExpandableStringEnum<GpuSku>

The SKU of the GPU resource.

Field Summary

Modifier and Type Field and Description
static final GpuSku K80

Static value K80 for GpuSku.

static final GpuSku P100

Static value P100 for GpuSku.

static final GpuSku V100

Static value V100 for GpuSku.

Constructor Summary

Constructor Description
GpuSku()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GpuSku value.

Method Summary

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

Creates or finds a GpuSku from its string representation.

static Collection<GpuSku> values()

Gets known GpuSku values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

K80

public static final GpuSku K80

Static value K80 for GpuSku.

P100

public static final GpuSku P100

Static value P100 for GpuSku.

V100

public static final GpuSku V100

Static value V100 for GpuSku.

Constructor Details

GpuSku

@Deprecated
public GpuSku()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GpuSku value.

Method Details

fromString

public static GpuSku fromString(String name)

Creates or finds a GpuSku from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GpuSku.

values

public static Collection values()

Gets known GpuSku values.

Returns:

known GpuSku values.

Applies to