Enum ApprovalWorkflowMaxDuration.Unit
- java.lang.Object
-
- java.lang.Enum<ApprovalWorkflowMaxDuration.Unit>
-
- com.oracle.bmc.identitydomains.model.ApprovalWorkflowMaxDuration.Unit
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ApprovalWorkflowMaxDuration.Unit>
- Enclosing class:
- ApprovalWorkflowMaxDuration
public static enum ApprovalWorkflowMaxDuration.Unit extends Enum<ApprovalWorkflowMaxDuration.Unit> implements BmcEnum
The unit of the max duration.*SCIM++ Properties:** - caseExact: true - idcsSearchable: false - idcsDefaultValue: DAY - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Day
Hour
Month
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Week
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApprovalWorkflowMaxDuration.Unit
create(String key)
String
getValue()
static ApprovalWorkflowMaxDuration.Unit
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApprovalWorkflowMaxDuration.Unit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Month
public static final ApprovalWorkflowMaxDuration.Unit Month
-
Week
public static final ApprovalWorkflowMaxDuration.Unit Week
-
Day
public static final ApprovalWorkflowMaxDuration.Unit Day
-
Hour
public static final ApprovalWorkflowMaxDuration.Unit Hour
-
UnknownEnumValue
public static final ApprovalWorkflowMaxDuration.Unit UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static ApprovalWorkflowMaxDuration.Unit[] 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 (ApprovalWorkflowMaxDuration.Unit c : ApprovalWorkflowMaxDuration.Unit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApprovalWorkflowMaxDuration.Unit 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 ApprovalWorkflowMaxDuration.Unit create(String key)
-
-