PlatformVersion Class

public final class PlatformVersion
extends ExpandableStringEnum<PlatformVersion>

Compute Platform Version running the service.

Field Summary

Modifier and Type Field and Description
static final PlatformVersion MTV1

Static value mtv1 for PlatformVersion.

static final PlatformVersion STV1

Static value stv1 for PlatformVersion.

static final PlatformVersion STV2

Static value stv2 for PlatformVersion.

static final PlatformVersion UNDETERMINED

Static value undetermined for PlatformVersion.

Constructor Summary

Constructor Description
PlatformVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PlatformVersion value.

Method Summary

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

Creates or finds a PlatformVersion from its string representation.

static Collection<PlatformVersion> values()

Gets known PlatformVersion values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

MTV1

public static final PlatformVersion MTV1

Static value mtv1 for PlatformVersion.

STV1

public static final PlatformVersion STV1

Static value stv1 for PlatformVersion.

STV2

public static final PlatformVersion STV2

Static value stv2 for PlatformVersion.

UNDETERMINED

public static final PlatformVersion UNDETERMINED

Static value undetermined for PlatformVersion.

Constructor Details

PlatformVersion

@Deprecated
public PlatformVersion()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PlatformVersion value.

Method Details

fromString

public static PlatformVersion fromString(String name)

Creates or finds a PlatformVersion from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PlatformVersion.

values

public static Collection values()

Gets known PlatformVersion values.

Returns:

known PlatformVersion values.

Applies to