ControlType Class

public final class ControlType
extends ExpandableStringEnum<ControlType>

The type of security control (for example, BuiltIn).

Field Summary

Modifier and Type Field and Description
static final ControlType BUILT_IN

Microsoft Defender for Cloud managed assessments.

static final ControlType CUSTOM

Non Microsoft Defender for Cloud managed assessments.

Constructor Summary

Constructor Description
ControlType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ControlType value.

Method Summary

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

Creates or finds a ControlType from its string representation.

static Collection<ControlType> values()

Gets known ControlType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BUILT_IN

public static final ControlType BUILT_IN

Microsoft Defender for Cloud managed assessments.

CUSTOM

public static final ControlType CUSTOM

Non Microsoft Defender for Cloud managed assessments.

Constructor Details

ControlType

@Deprecated
public ControlType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ControlType value.

Method Details

fromString

public static ControlType fromString(String name)

Creates or finds a ControlType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ControlType.

values

public static Collection<ControlType> values()

Gets known ControlType values.

Returns:

known ControlType values.

Applies to