Class AttributeUpdateResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmtraces.model.AttributeUpdateResponse.Builder
 
- 
- Enclosing class:
- AttributeUpdateResponse
 
 public static class AttributeUpdateResponse.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
attributeNamepublic AttributeUpdateResponse.Builder attributeName(String attributeName) Attribute for which properties were updated in this bulk operation.- Parameters:
- attributeName- the value to set
- Returns:
- this builder
 
 - 
attributeTypepublic AttributeUpdateResponse.Builder attributeType(AttributeUpdateResponse.AttributeType attributeType) Type of the attribute.- Parameters:
- attributeType- the value to set
- Returns:
- this builder
 
 - 
unitpublic AttributeUpdateResponse.Builder unit(AttributeUpdateResponse.Unit unit) Unit updated for this attribute.If unit is not specified, it defaults to NONE. - Parameters:
- unit- the value to set
- Returns:
- this builder
 
 - 
notespublic AttributeUpdateResponse.Builder notes(String notes) Notes for the attribute.- Parameters:
- notes- the value to set
- Returns:
- this builder
 
 - 
operationTypepublic AttributeUpdateResponse.Builder operationType(AttributeUpdateResponse.OperationType operationType) Type of operation - UPDATE_ATTRIBUTE_PROPERTIES.- Parameters:
- operationType- the value to set
- Returns:
- this builder
 
 - 
attributeStatuspublic AttributeUpdateResponse.Builder attributeStatus(AttributeUpdateResponse.AttributeStatus attributeStatus) 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. - Parameters:
- attributeStatus- the value to set
- Returns:
- this builder
 
 - 
attributeNameSpacepublic AttributeUpdateResponse.Builder attributeNameSpace(AttributeUpdateResponse.AttributeNameSpace attributeNameSpace) Namespace of the attribute whose properties were updated.The attributeNameSpace will default to TRACES if it is not passed in. - Parameters:
- attributeNameSpace- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic AttributeUpdateResponse.Builder timeUpdated(Date timeUpdated) Time when the attribute’s properties were updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic AttributeUpdateResponse build() 
 - 
copypublic AttributeUpdateResponse.Builder copy(AttributeUpdateResponse model) 
 
- 
 
-