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 and Description |
---|
AddOrSet |
AddWhereAbsent |
Remove |
SetWherePresent |
Modifier and Type | Method and 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.
|
public static final BulkEditOperationDetails.OperationType AddWhereAbsent
public static final BulkEditOperationDetails.OperationType SetWherePresent
public static final BulkEditOperationDetails.OperationType AddOrSet
public static final BulkEditOperationDetails.OperationType Remove
public static BulkEditOperationDetails.OperationType[] values()
for (BulkEditOperationDetails.OperationType c : BulkEditOperationDetails.OperationType.values()) System.out.println(c);
public static BulkEditOperationDetails.OperationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static BulkEditOperationDetails.OperationType create(String key)
Copyright © 2016–2024. All rights reserved.