PrincipalType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. PrincipalType
- com.
- com.
public final class PrincipalType
extends ExpandableStringEnum<PrincipalType>
Principal Type of the sever administrator.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Principal |
APPLICATION
Static value Application for Principal |
static final
Principal |
GROUP
Static value Group for Principal |
static final
Principal |
USER
Static value User for Principal |
Constructor Summary
Constructor | Description |
---|---|
PrincipalType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Principal |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Principal |
fromString(String name)
Creates or finds a Principal |
static
Collection<Principal |
values()
Gets known Principal |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
APPLICATION
public static final PrincipalType APPLICATION
Static value Application for PrincipalType.
GROUP
public static final PrincipalType GROUP
Static value Group for PrincipalType.
USER
public static final PrincipalType USER
Static value User for PrincipalType.
Constructor Details
PrincipalType
@Deprecated
public PrincipalType()
Deprecated
Creates a new instance of PrincipalType value.
Method Details
fromString
public static PrincipalType fromString(String name)
Creates or finds a PrincipalType from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PrincipalType values.
Returns:
Applies to
Azure SDK for Java