Enum DelegatedResourceAccessRequestApprovalDetails.ApprovalAction
- java.lang.Object
-
- java.lang.Enum<DelegatedResourceAccessRequestApprovalDetails.ApprovalAction>
-
- com.oracle.bmc.delegateaccesscontrol.model.DelegatedResourceAccessRequestApprovalDetails.ApprovalAction
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DelegatedResourceAccessRequestApprovalDetails.ApprovalAction>
- Enclosing class:
- DelegatedResourceAccessRequestApprovalDetails
public static enum DelegatedResourceAccessRequestApprovalDetails.ApprovalAction extends Enum<DelegatedResourceAccessRequestApprovalDetails.ApprovalAction> implements BmcEnum
Indicated whether the request is approved or rejected.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Approve
Reject
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DelegatedResourceAccessRequestApprovalDetails.ApprovalAction
create(String key)
String
getValue()
static DelegatedResourceAccessRequestApprovalDetails.ApprovalAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static DelegatedResourceAccessRequestApprovalDetails.ApprovalAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Approve
public static final DelegatedResourceAccessRequestApprovalDetails.ApprovalAction Approve
-
Reject
public static final DelegatedResourceAccessRequestApprovalDetails.ApprovalAction Reject
-
UnknownEnumValue
public static final DelegatedResourceAccessRequestApprovalDetails.ApprovalAction 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 DelegatedResourceAccessRequestApprovalDetails.ApprovalAction[] 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 (DelegatedResourceAccessRequestApprovalDetails.ApprovalAction c : DelegatedResourceAccessRequestApprovalDetails.ApprovalAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DelegatedResourceAccessRequestApprovalDetails.ApprovalAction 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 DelegatedResourceAccessRequestApprovalDetails.ApprovalAction create(String key)
-
-