Package com.oracle.bmc.apmtraces.model
Enum BulkPinMetadata.OperationStatus
- java.lang.Object
-
- java.lang.Enum<BulkPinMetadata.OperationStatus>
-
- com.oracle.bmc.apmtraces.model.BulkPinMetadata.OperationStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<BulkPinMetadata.OperationStatus>
- Enclosing class:
- BulkPinMetadata
public static enum BulkPinMetadata.OperationStatus extends Enum<BulkPinMetadata.OperationStatus> implements BmcEnum
Operation status of the bulk pin operation.SUCCESS - The bulk pin operation has succeeded and all the attributes in the bulk pin request have been pinned by this operation or pinned earlier. The following are error statuses for the bulk pin operation. EMPTY_ATTRIBUTE_LIST - The bulk pin request object was empty and did not contain any attributes to be pinned. INVALID_BULK_REQUEST - The bulk request contains invalid attribute(s), or attribute(s) that resulted in a validation error, or an attribute that resulted in a processing error.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EmptyAttributeList
InvalidBulkRequest
Success
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 BulkPinMetadata.OperationStatus
create(String key)
String
getValue()
static BulkPinMetadata.OperationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static BulkPinMetadata.OperationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Success
public static final BulkPinMetadata.OperationStatus Success
-
EmptyAttributeList
public static final BulkPinMetadata.OperationStatus EmptyAttributeList
-
InvalidBulkRequest
public static final BulkPinMetadata.OperationStatus InvalidBulkRequest
-
UnknownEnumValue
public static final BulkPinMetadata.OperationStatus 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 BulkPinMetadata.OperationStatus[] 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 (BulkPinMetadata.OperationStatus c : BulkPinMetadata.OperationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BulkPinMetadata.OperationStatus 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 BulkPinMetadata.OperationStatus create(String key)
-
-