Enum AttributeUpdateNotesResponse.AttributeStatus
- java.lang.Object
-
- java.lang.Enum<AttributeUpdateNotesResponse.AttributeStatus>
-
- com.oracle.bmc.apmtraces.model.AttributeUpdateNotesResponse.AttributeStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AttributeUpdateNotesResponse.AttributeStatus>
- Enclosing class:
- AttributeUpdateNotesResponse
public static enum AttributeUpdateNotesResponse.AttributeStatus extends Enum<AttributeUpdateNotesResponse.AttributeStatus> implements BmcEnum
Status of the attribute after this operation.The attribute can have one of the following statuses after the update notes operation. The attribute can have either a success status or an error status. The status of the attribute must be correlated with the operation status property in the bulk operation metadata object. The bulk operation will be successful only when all attributes in the bulk request are processed successfully and they get a success status back. The following are successful status values of individual attribute items in a bulk update notes operation. ATTRIBUTE_NOTES_UPDATED - The attribute’s notes have been updated with the given notes. DUPLICATE_ATTRIBUTE - The attribute is a duplicate of an attribute that was present in this bulk request. Note that we deduplicate the attribute collection, process only unique attributes, and call out duplicates. A duplicate attribute in a bulk request will not prevent the processing of further attributes in the bulk operation. The following values are error statuses and the bulk processing is stopped when the first error is encountered. INVALID_ATTRIBUTE - The attribute is invalid. The length of the notes is more than a 1000 characters. ATTRIBUTE_NOT_PROCESSED - The attribute was not processed, as there was another attribute in this bulk request collection that resulted in a processing error. ATTRIBUTE_DOES_NOT_EXIST - Attribute was neither active nor pinned inactive. NOTES_TOO_LONG - Attribute notes were too long (more than 1000 chars).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AttributeDoesNotExist
AttributeNotesUpdated
AttributeNotProcessed
DuplicateAttribute
InvalidAttribute
NotesTooLong
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 AttributeUpdateNotesResponse.AttributeStatus
create(String key)
String
getValue()
static AttributeUpdateNotesResponse.AttributeStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeUpdateNotesResponse.AttributeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AttributeNotesUpdated
public static final AttributeUpdateNotesResponse.AttributeStatus AttributeNotesUpdated
-
DuplicateAttribute
public static final AttributeUpdateNotesResponse.AttributeStatus DuplicateAttribute
-
InvalidAttribute
public static final AttributeUpdateNotesResponse.AttributeStatus InvalidAttribute
-
AttributeNotProcessed
public static final AttributeUpdateNotesResponse.AttributeStatus AttributeNotProcessed
-
AttributeDoesNotExist
public static final AttributeUpdateNotesResponse.AttributeStatus AttributeDoesNotExist
-
NotesTooLong
public static final AttributeUpdateNotesResponse.AttributeStatus NotesTooLong
-
UnknownEnumValue
public static final AttributeUpdateNotesResponse.AttributeStatus 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 AttributeUpdateNotesResponse.AttributeStatus[] 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 (AttributeUpdateNotesResponse.AttributeStatus c : AttributeUpdateNotesResponse.AttributeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeUpdateNotesResponse.AttributeStatus 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 AttributeUpdateNotesResponse.AttributeStatus create(String key)
-
-