ServiceMeshMode Class

public final class ServiceMeshMode
extends ExpandableStringEnum<ServiceMeshMode>

Mode of the service mesh.

Field Summary

Modifier and Type Field and Description
static final ServiceMeshMode DISABLED

Static value Disabled for ServiceMeshMode.

static final ServiceMeshMode ISTIO

Static value Istio for ServiceMeshMode.

Constructor Summary

Constructor Description
ServiceMeshMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceMeshMode value.

Method Summary

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

Creates or finds a ServiceMeshMode from its string representation.

static Collection<ServiceMeshMode> values()

Gets known ServiceMeshMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ServiceMeshMode DISABLED

Static value Disabled for ServiceMeshMode.

ISTIO

public static final ServiceMeshMode ISTIO

Static value Istio for ServiceMeshMode.

Constructor Details

ServiceMeshMode

@Deprecated
public ServiceMeshMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServiceMeshMode value.

Method Details

fromString

public static ServiceMeshMode fromString(String name)

Creates or finds a ServiceMeshMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServiceMeshMode.

values

public static Collection values()

Gets known ServiceMeshMode values.

Returns:

known ServiceMeshMode values.

Applies to