Package com.oracle.bmc.identity.model
Enum BulkEditOperationDetails.OperationType
- java.lang.Object
-
- java.lang.Enum<BulkEditOperationDetails.OperationType>
-
- com.oracle.bmc.identity.model.BulkEditOperationDetails.OperationType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<BulkEditOperationDetails.OperationType>
- Enclosing class:
- BulkEditOperationDetails
public static enum BulkEditOperationDetails.OperationType extends Enum<BulkEditOperationDetails.OperationType> implements BmcEnum
An enum-like description of the type of operation.ADD_WHERE_ABSENT adds a defined tag only if the tag does not already exist on the resource. * SET_WHERE_PRESENT updates the value for a defined tag only if the tag is present on the resource. * ADD_OR_SET combines the first two operations to add a defined tag if it does not already exist on the resource or update the value for a defined tag only if the tag is present on the resource. * REMOVE removes the defined tag from the resource. The tag is removed from the resource regardless of the tag value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddOrSet
AddWhereAbsent
Remove
SetWherePresent
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BulkEditOperationDetails.OperationType
create(String key)
String
getValue()
static BulkEditOperationDetails.OperationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BulkEditOperationDetails.OperationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AddWhereAbsent
public static final BulkEditOperationDetails.OperationType AddWhereAbsent
-
SetWherePresent
public static final BulkEditOperationDetails.OperationType SetWherePresent
-
AddOrSet
public static final BulkEditOperationDetails.OperationType AddOrSet
-
Remove
public static final BulkEditOperationDetails.OperationType Remove
-
-
Method Detail
-
values
public static BulkEditOperationDetails.OperationType[] 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 (BulkEditOperationDetails.OperationType c : BulkEditOperationDetails.OperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BulkEditOperationDetails.OperationType 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 BulkEditOperationDetails.OperationType create(String key)
-
-