VmDiskTypes Class

public final class VmDiskTypes
extends ExpandableStringEnum<VmDiskTypes>

VM disk types which are disallowed.

Field Summary

Modifier and Type Field and Description
static final VmDiskTypes NONE

Static value None for VmDiskTypes.

static final VmDiskTypes UNMANAGED

Static value Unmanaged for VmDiskTypes.

Constructor Summary

Constructor Description
VmDiskTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VmDiskTypes value.

Method Summary

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

Creates or finds a VmDiskTypes from its string representation.

static Collection<VmDiskTypes> values()

Gets known VmDiskTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final VmDiskTypes NONE

Static value None for VmDiskTypes.

UNMANAGED

public static final VmDiskTypes UNMANAGED

Static value Unmanaged for VmDiskTypes.

Constructor Details

VmDiskTypes

@Deprecated
public VmDiskTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VmDiskTypes value.

Method Details

fromString

public static VmDiskTypes fromString(String name)

Creates or finds a VmDiskTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VmDiskTypes.

values

public static Collection values()

Gets known VmDiskTypes values.

Returns:

known VmDiskTypes values.

Applies to