Dela via


SecurityTypes Class

public final class SecurityTypes
extends ExpandableStringEnum<SecurityTypes>

Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.

Field Summary

Modifier and Type Field and Description
static final SecurityTypes CONFIDENTIAL_VM

Static value ConfidentialVM for SecurityTypes.

static final SecurityTypes TRUSTED_LAUNCH

Static value TrustedLaunch for SecurityTypes.

Constructor Summary

Constructor Description
SecurityTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityTypes value.

Method Summary

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

Creates or finds a SecurityTypes from its string representation.

static Collection<SecurityTypes> values()

Gets known SecurityTypes values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONFIDENTIAL_VM

public static final SecurityTypes CONFIDENTIAL_VM

Static value ConfidentialVM for SecurityTypes.

TRUSTED_LAUNCH

public static final SecurityTypes TRUSTED_LAUNCH

Static value TrustedLaunch for SecurityTypes.

Constructor Details

SecurityTypes

@Deprecated
public SecurityTypes()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityTypes value.

Method Details

fromString

public static SecurityTypes fromString(String name)

Creates or finds a SecurityTypes from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityTypes.

values

public static Collection values()

Gets known SecurityTypes values.

Returns:

known SecurityTypes values.

Applies to