Class PrincipalType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PrincipalType>
-
- com.azure.resourcemanager.synapse.models.PrincipalType
-
public final class PrincipalType extends com.azure.core.util.ExpandableStringEnum<PrincipalType>
Defines values for PrincipalType.
-
-
Field Summary
Fields Modifier and Type Field Description static PrincipalType
APP
Static value App for PrincipalType.static PrincipalType
GROUP
Static value Group for PrincipalType.static PrincipalType
USER
Static value User for PrincipalType.
-
Constructor Summary
Constructors Constructor Description PrincipalType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrincipalType
fromString(String name)
Creates or finds a PrincipalType from its string representation.static Collection<PrincipalType>
values()
-
-
-
Field Detail
-
APP
public static final PrincipalType APP
Static value App for PrincipalType.
-
GROUP
public static final PrincipalType GROUP
Static value Group for PrincipalType.
-
USER
public static final PrincipalType USER
Static value User for PrincipalType.
-
-
Method Detail
-
fromString
public static PrincipalType fromString(String name)
Creates or finds a PrincipalType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PrincipalType.
-
values
public static Collection<PrincipalType> values()
- Returns:
- known PrincipalType values.
-
-