AadObjectType Class

public final class AadObjectType
extends ExpandableStringEnum<AadObjectType>

The type of AAD object the object identifier refers to.

Field Summary

Modifier and Type Field and Description
static final AadObjectType GROUP

Static value Group for AadObjectType.

static final AadObjectType SERVICE_PRINCIPAL

Static value ServicePrincipal for AadObjectType.

static final AadObjectType USER

Static value User for AadObjectType.

Constructor Summary

Constructor Description
AadObjectType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AadObjectType value.

Method Summary

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

Creates or finds a AadObjectType from its string representation.

static Collection<AadObjectType> values()

Gets known AadObjectType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GROUP

public static final AadObjectType GROUP

Static value Group for AadObjectType.

SERVICE_PRINCIPAL

public static final AadObjectType SERVICE_PRINCIPAL

Static value ServicePrincipal for AadObjectType.

USER

public static final AadObjectType USER

Static value User for AadObjectType.

Constructor Details

AadObjectType

@Deprecated
public AadObjectType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AadObjectType value.

Method Details

fromString

public static AadObjectType fromString(String name)

Creates or finds a AadObjectType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AadObjectType.

values

public static Collection values()

Gets known AadObjectType values.

Returns:

known AadObjectType values.

Applies to