public static enum AttributeUpdateResponse.AttributeStatus extends Enum<AttributeUpdateResponse.AttributeStatus> implements BmcEnum
Status of the attribute after this operation. The attribute can have one of the following statuses after the update 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 attribute operation. ATTRIBUTE_UPDATED - The attribute’s properites have been updated with the given properties. 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. 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. ATTRIBUTE_UPDATE_NOT_ALLOWED - Attribute update is not allowed as it is an in-built system attribute.
Enum Constant and Description |
---|
AttributeDoesNotExist |
AttributeNotProcessed |
AttributeUpdated |
AttributeUpdateNotAllowed |
DuplicateAttribute |
InvalidAttribute |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static AttributeUpdateResponse.AttributeStatus |
create(String key) |
String |
getValue() |
static AttributeUpdateResponse.AttributeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeUpdateResponse.AttributeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeUpdateResponse.AttributeStatus AttributeUpdated
public static final AttributeUpdateResponse.AttributeStatus DuplicateAttribute
public static final AttributeUpdateResponse.AttributeStatus InvalidAttribute
public static final AttributeUpdateResponse.AttributeStatus AttributeNotProcessed
public static final AttributeUpdateResponse.AttributeStatus AttributeDoesNotExist
public static final AttributeUpdateResponse.AttributeStatus AttributeUpdateNotAllowed
public static final AttributeUpdateResponse.AttributeStatus UnknownEnumValue
public static AttributeUpdateResponse.AttributeStatus[] values()
for (AttributeUpdateResponse.AttributeStatus c : AttributeUpdateResponse.AttributeStatus.values()) System.out.println(c);
public static AttributeUpdateResponse.AttributeStatus 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 AttributeUpdateResponse.AttributeStatus create(String key)
Copyright © 2016–2024. All rights reserved.