RoleDefinitionType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.resourcemanager.cosmos.models.RoleDefinitionType

public enum RoleDefinitionType
extends Enum<RoleDefinitionType>

Indicates whether the Role Definition was built-in or user created.

Fields

BUILT_IN_ROLE

Enum value BuiltInRole.

CUSTOM_ROLE

Enum value CustomRole.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static RoleDefinitionType fromString(String value)

Parses a serialized value to a RoleDefinitionType instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed RoleDefinitionType object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static RoleDefinitionType valueOf(String name)

Parameters

name
String

Returns

values()

public static RoleDefinitionType[] values()

Returns

Applies to