Package com.oracle.bmc.filestorage.model
Enum CreateQuotaRuleDetails.PrincipalType
- java.lang.Object
-
- java.lang.Enum<CreateQuotaRuleDetails.PrincipalType>
-
- com.oracle.bmc.filestorage.model.CreateQuotaRuleDetails.PrincipalType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateQuotaRuleDetails.PrincipalType>
- Enclosing class:
- CreateQuotaRuleDetails
public static enum CreateQuotaRuleDetails.PrincipalType extends Enum<CreateQuotaRuleDetails.PrincipalType> implements BmcEnum
The type of the owner of this quota rule and usage.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DefaultGroup
DefaultUser
FileSystemLevel
IndividualGroup
IndividualUser
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateQuotaRuleDetails.PrincipalType
create(String key)
String
getValue()
static CreateQuotaRuleDetails.PrincipalType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateQuotaRuleDetails.PrincipalType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FileSystemLevel
public static final CreateQuotaRuleDetails.PrincipalType FileSystemLevel
-
DefaultGroup
public static final CreateQuotaRuleDetails.PrincipalType DefaultGroup
-
DefaultUser
public static final CreateQuotaRuleDetails.PrincipalType DefaultUser
-
IndividualGroup
public static final CreateQuotaRuleDetails.PrincipalType IndividualGroup
-
IndividualUser
public static final CreateQuotaRuleDetails.PrincipalType IndividualUser
-
-
Method Detail
-
values
public static CreateQuotaRuleDetails.PrincipalType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CreateQuotaRuleDetails.PrincipalType c : CreateQuotaRuleDetails.PrincipalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateQuotaRuleDetails.PrincipalType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static CreateQuotaRuleDetails.PrincipalType create(String key)
-
-