Enum AttributeResponse.AttributeStatus
- java.lang.Object
-
- java.lang.Enum<AttributeResponse.AttributeStatus>
-
- com.oracle.bmc.apmtraces.model.AttributeResponse.AttributeStatus
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AttributeResponse.AttributeStatus>
- Enclosing class:
- AttributeResponse
public static enum AttributeResponse.AttributeStatus extends Enum<AttributeResponse.AttributeStatus> implements BmcEnum
Status of the attribute after this operation.The attribute can have one of the following statuses after the activate or deactivate 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 successful and they get a success status back. The following are successful status values of individual attribute items in a bulk attribute activation operation. ATTRIBUTE_ACTIVATED - The attribute is activated and is available to be queried. Note that ingest might still have not picked up the changes, and the associated caches would not have refreshed yet to pick up the changes. ATTRIBUTE_ALREADY_ACTIVE - The caller is trying to activate an attribute that is already active or in the process of getting activated. ATTRIBUTE_DEACTIVATED - The attribute is deactivated and will not appear in searches. Ingest might not have picked up the new changes and the associated caches might not have refreshed yet. ATTRIBUTE_ALREADY_DEACTIVATED - The caller is trying to deactivate an attribute that has already been deactivated or in the process of deactivation. 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. None of the attributes in the bulk request would have been activated or deactivated by this bulk operation. DEACTIVATION_NOT_ALLOWED - The caller has asked for the deactivation of an out of box tag which is not permitted. ATTRIBUTE_DOES_NOT_EXIST - The caller tries to deactivate an attribute that doesn’t exist in the APM Domain. INVALID_ATTRIBUTE - The attribute is invalid. INVALID_ATTRIBUTE_TYPE_CONFLICT - The attribute is invalid. There were two attributes with same name but different type in the bulk request. 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_UPDATE_NOT_ALLOWED - The unit of the attribute cannot be updated as it is an in-built system attribute.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AttributeActivated
AttributeAlreadyActive
AttributeAlreadyDeactivated
AttributeDeactivated
AttributeDoesNotExist
AttributeNotProcessed
AttributeUpdateNotAllowed
DeactivationNotAllowed
DuplicateAttribute
InvalidAttribute
InvalidAttributeTypeConflict
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 AttributeResponse.AttributeStatus
create(String key)
String
getValue()
static AttributeResponse.AttributeStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeResponse.AttributeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AttributeAlreadyActive
public static final AttributeResponse.AttributeStatus AttributeAlreadyActive
-
AttributeActivated
public static final AttributeResponse.AttributeStatus AttributeActivated
-
AttributeDeactivated
public static final AttributeResponse.AttributeStatus AttributeDeactivated
-
DeactivationNotAllowed
public static final AttributeResponse.AttributeStatus DeactivationNotAllowed
-
AttributeDoesNotExist
public static final AttributeResponse.AttributeStatus AttributeDoesNotExist
-
AttributeAlreadyDeactivated
public static final AttributeResponse.AttributeStatus AttributeAlreadyDeactivated
-
DuplicateAttribute
public static final AttributeResponse.AttributeStatus DuplicateAttribute
-
InvalidAttribute
public static final AttributeResponse.AttributeStatus InvalidAttribute
-
InvalidAttributeTypeConflict
public static final AttributeResponse.AttributeStatus InvalidAttributeTypeConflict
-
AttributeNotProcessed
public static final AttributeResponse.AttributeStatus AttributeNotProcessed
-
AttributeUpdateNotAllowed
public static final AttributeResponse.AttributeStatus AttributeUpdateNotAllowed
-
UnknownEnumValue
public static final AttributeResponse.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 AttributeResponse.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 (AttributeResponse.AttributeStatus c : AttributeResponse.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 AttributeResponse.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 AttributeResponse.AttributeStatus create(String key)
-
-