AssessmentType Class

public final class AssessmentType
extends ExpandableStringEnum<AssessmentType>

BuiltIn if the assessment based on built-in Azure Policy definition, Custom if the assessment based on custom Azure Policy definition.

Field Summary

Modifier and Type Field and Description
static final AssessmentType BUILT_IN

Static value BuiltIn for AssessmentType.

static final AssessmentType CUSTOMER_MANAGED

Static value CustomerManaged for AssessmentType.

static final AssessmentType CUSTOM_POLICY

Static value CustomPolicy for AssessmentType.

static final AssessmentType VERIFIED_PARTNER

Static value VerifiedPartner for AssessmentType.

Constructor Summary

Constructor Description
AssessmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AssessmentType value.

Method Summary

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

Creates or finds a AssessmentType from its string representation.

static Collection<AssessmentType> values()

Gets known AssessmentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BUILT_IN

public static final AssessmentType BUILT_IN

Static value BuiltIn for AssessmentType.

CUSTOMER_MANAGED

public static final AssessmentType CUSTOMER_MANAGED

Static value CustomerManaged for AssessmentType.

CUSTOM_POLICY

public static final AssessmentType CUSTOM_POLICY

Static value CustomPolicy for AssessmentType.

VERIFIED_PARTNER

public static final AssessmentType VERIFIED_PARTNER

Static value VerifiedPartner for AssessmentType.

Constructor Details

AssessmentType

@Deprecated
public AssessmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AssessmentType value.

Method Details

fromString

public static AssessmentType fromString(String name)

Creates or finds a AssessmentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AssessmentType.

values

public static Collection values()

Gets known AssessmentType values.

Returns:

known AssessmentType values.

Applies to