WorkloadRuntime Class

public final class WorkloadRuntime
extends ExpandableStringEnum<WorkloadRuntime>

Determines the type of workload a node can run.

Field Summary

Modifier and Type Field and Description
static final WorkloadRuntime OCICONTAINER

Static value OCIContainer for WorkloadRuntime.

static final WorkloadRuntime WASM_WASI

Static value WasmWasi for WorkloadRuntime.

Constructor Summary

Constructor Description
WorkloadRuntime()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WorkloadRuntime value.

Method Summary

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

Creates or finds a WorkloadRuntime from its string representation.

static Collection<WorkloadRuntime> values()

Gets known WorkloadRuntime values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

OCICONTAINER

public static final WorkloadRuntime OCICONTAINER

Static value OCIContainer for WorkloadRuntime.

WASM_WASI

public static final WorkloadRuntime WASM_WASI

Static value WasmWasi for WorkloadRuntime.

Constructor Details

WorkloadRuntime

@Deprecated
public WorkloadRuntime()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of WorkloadRuntime value.

Method Details

fromString

public static WorkloadRuntime fromString(String name)

Creates or finds a WorkloadRuntime from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding WorkloadRuntime.

values

public static Collection values()

Gets known WorkloadRuntime values.

Returns:

known WorkloadRuntime values.

Applies to