ResourceAuthorIdentityType Class

public final class ResourceAuthorIdentityType
extends ExpandableStringEnum<ResourceAuthorIdentityType>

Defines values for identity type of resource author.

Field Summary

Modifier and Type Field and Description
static final ResourceAuthorIdentityType APPLICATION

Static value Application for ResourceAuthorIdentityType, represents an AAD application.

static final ResourceAuthorIdentityType KEY

Static value Key for ResourceAuthorIdentityType.

static final ResourceAuthorIdentityType MANAGED_IDENTITY

Static value ManagedIdentity for ResourceAuthorIdentityType, represents a Managed Identity.

static final ResourceAuthorIdentityType USER

Static value User for ResourceAuthorIdentityType, represents an AAD user.

Constructor Summary

Constructor Description
ResourceAuthorIdentityType()

Deprecated

Use one of the constants or the #fromString(String, Class) factory method.

Creates a new instance of ResourceAuthorIdentityType without a #toString() value.

Method Summary

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

Creates or finds a ResourceAuthorIdentityType from its string representation.

static Collection<ResourceAuthorIdentityType> values()

Gets the known ResourceAuthorIdentityType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

APPLICATION

public static final ResourceAuthorIdentityType APPLICATION

Static value Application for ResourceAuthorIdentityType, represents an AAD application.

KEY

public static final ResourceAuthorIdentityType KEY

Static value Key for ResourceAuthorIdentityType.

MANAGED_IDENTITY

public static final ResourceAuthorIdentityType MANAGED_IDENTITY

Static value ManagedIdentity for ResourceAuthorIdentityType, represents a Managed Identity.

USER

public static final ResourceAuthorIdentityType USER

Static value User for ResourceAuthorIdentityType, represents an AAD user.

Constructor Details

ResourceAuthorIdentityType

@Deprecated
public ResourceAuthorIdentityType()

Deprecated

Use one of the constants or the #fromString(String, Class) factory method.

Creates a new instance of ResourceAuthorIdentityType without a #toString() value.

This constructor shouldn't be called as it will produce a ResourceAuthorIdentityType which doesn't have a String enum value.

Method Details

fromString

public static ResourceAuthorIdentityType fromString(String name)

Creates or finds a ResourceAuthorIdentityType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ResourceAuthorIdentityType.

values

public static Collection values()

Gets the known ResourceAuthorIdentityType values.

Returns:

known ResourceAuthorIdentityType values.

Applies to