Freigeben über


HyperVGenerationType Class

public final class HyperVGenerationType
extends ExpandableStringEnum<HyperVGenerationType>

Specifies the HyperVGeneration Type associated with a resource.

Field Summary

Modifier and Type Field and Description
static final HyperVGenerationType V1

Static value V1 for HyperVGenerationType.

static final HyperVGenerationType V2

Static value V2 for HyperVGenerationType.

Constructor Summary

Constructor Description
HyperVGenerationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HyperVGenerationType value.

Method Summary

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

Creates or finds a HyperVGenerationType from its string representation.

static Collection<HyperVGenerationType> values()

Gets known HyperVGenerationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

V1

public static final HyperVGenerationType V1

Static value V1 for HyperVGenerationType.

V2

public static final HyperVGenerationType V2

Static value V2 for HyperVGenerationType.

Constructor Details

HyperVGenerationType

@Deprecated
public HyperVGenerationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HyperVGenerationType value.

Method Details

fromString

public static HyperVGenerationType fromString(String name)

Creates or finds a HyperVGenerationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HyperVGenerationType.

values

public static Collection values()

Gets known HyperVGenerationType values.

Returns:

known HyperVGenerationType values.

Applies to