NetworkInterfaceMigrationPhase Class

public final class NetworkInterfaceMigrationPhase
extends ExpandableStringEnum<NetworkInterfaceMigrationPhase>

Migration phase of Network Interface resource.

Field Summary

Modifier and Type Field and Description
static final NetworkInterfaceMigrationPhase ABORT

Static value Abort for NetworkInterfaceMigrationPhase.

static final NetworkInterfaceMigrationPhase COMMIT

Static value Commit for NetworkInterfaceMigrationPhase.

static final NetworkInterfaceMigrationPhase COMMITTED

Static value Committed for NetworkInterfaceMigrationPhase.

static final NetworkInterfaceMigrationPhase NONE

Static value None for NetworkInterfaceMigrationPhase.

static final NetworkInterfaceMigrationPhase PREPARE

Static value Prepare for NetworkInterfaceMigrationPhase.

Constructor Summary

Constructor Description
NetworkInterfaceMigrationPhase()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkInterfaceMigrationPhase value.

Method Summary

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

Creates or finds a NetworkInterfaceMigrationPhase from its string representation.

static Collection<NetworkInterfaceMigrationPhase> values()

Gets known NetworkInterfaceMigrationPhase values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ABORT

public static final NetworkInterfaceMigrationPhase ABORT

Static value Abort for NetworkInterfaceMigrationPhase.

COMMIT

public static final NetworkInterfaceMigrationPhase COMMIT

Static value Commit for NetworkInterfaceMigrationPhase.

COMMITTED

public static final NetworkInterfaceMigrationPhase COMMITTED

Static value Committed for NetworkInterfaceMigrationPhase.

NONE

public static final NetworkInterfaceMigrationPhase NONE

Static value None for NetworkInterfaceMigrationPhase.

PREPARE

public static final NetworkInterfaceMigrationPhase PREPARE

Static value Prepare for NetworkInterfaceMigrationPhase.

Constructor Details

NetworkInterfaceMigrationPhase

@Deprecated
public NetworkInterfaceMigrationPhase()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkInterfaceMigrationPhase value.

Method Details

fromString

public static NetworkInterfaceMigrationPhase fromString(String name)

Creates or finds a NetworkInterfaceMigrationPhase from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NetworkInterfaceMigrationPhase.

values

public static Collection values()

Gets known NetworkInterfaceMigrationPhase values.

Returns:

known NetworkInterfaceMigrationPhase values.

Applies to