RollingUpgradeMode Class

public final class RollingUpgradeMode
extends ExpandableStringEnum<RollingUpgradeMode>

The mode used to monitor health during a rolling upgrade. The values are UnmonitoredAuto, UnmonitoredManual, and Monitored.

Field Summary

Modifier and Type Field and Description
static final RollingUpgradeMode INVALID

Static value Invalid for RollingUpgradeMode.

static final RollingUpgradeMode MONITORED

Static value Monitored for RollingUpgradeMode.

static final RollingUpgradeMode UNMONITORED_AUTO

Static value UnmonitoredAuto for RollingUpgradeMode.

static final RollingUpgradeMode UNMONITORED_MANUAL

Static value UnmonitoredManual for RollingUpgradeMode.

Constructor Summary

Constructor Description
RollingUpgradeMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RollingUpgradeMode value.

Method Summary

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

Creates or finds a RollingUpgradeMode from its string representation.

static Collection<RollingUpgradeMode> values()

Gets known RollingUpgradeMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INVALID

public static final RollingUpgradeMode INVALID

Static value Invalid for RollingUpgradeMode.

MONITORED

public static final RollingUpgradeMode MONITORED

Static value Monitored for RollingUpgradeMode.

UNMONITORED_AUTO

public static final RollingUpgradeMode UNMONITORED_AUTO

Static value UnmonitoredAuto for RollingUpgradeMode.

UNMONITORED_MANUAL

public static final RollingUpgradeMode UNMONITORED_MANUAL

Static value UnmonitoredManual for RollingUpgradeMode.

Constructor Details

RollingUpgradeMode

@Deprecated
public RollingUpgradeMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RollingUpgradeMode value.

Method Details

fromString

public static RollingUpgradeMode fromString(String name)

Creates or finds a RollingUpgradeMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RollingUpgradeMode.

values

public static Collection<RollingUpgradeMode> values()

Gets known RollingUpgradeMode values.

Returns:

known RollingUpgradeMode values.

Applies to