public static class AttributeUnpinResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AttributeUnpinResponse.Builder |
attributeName(String attributeName)
Attribute that was unpinned by this bulk operation.
|
AttributeUnpinResponse.Builder |
attributeNameSpace(AttributeUnpinResponse.AttributeNameSpace attributeNameSpace)
Namespace of the attribute whose properties were updated.
|
AttributeUnpinResponse.Builder |
attributeStatus(AttributeUnpinResponse.AttributeStatus attributeStatus)
Status of the attribute after this operation.
|
AttributeUnpinResponse |
build() |
AttributeUnpinResponse.Builder |
copy(AttributeUnpinResponse model) |
AttributeUnpinResponse.Builder |
operationType(AttributeUnpinResponse.OperationType operationType)
Type of operation - unpin.
|
AttributeUnpinResponse.Builder |
timeUpdated(Date timeUpdated)
Time when the attribute was activated or deactivated.
|
public AttributeUnpinResponse.Builder attributeName(String attributeName)
Attribute that was unpinned by this bulk operation.
attributeName
- the value to setpublic AttributeUnpinResponse.Builder operationType(AttributeUnpinResponse.OperationType operationType)
Type of operation - unpin.
operationType
- the value to setpublic AttributeUnpinResponse.Builder attributeNameSpace(AttributeUnpinResponse.AttributeNameSpace attributeNameSpace)
Namespace of the attribute whose properties were updated. The attributeNameSpace will default to TRACES if it is not passed in.
attributeNameSpace
- the value to setpublic AttributeUnpinResponse.Builder attributeStatus(AttributeUnpinResponse.AttributeStatus attributeStatus)
Status of the attribute after this operation. The attribute can have one of the following statuses after the unpin 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 attribute unpin operation. ATTRIBUTE_UNPINNED - The attribute is marked unpinned and associated notes have been cleared. 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 size of the attribute is more than a 1000 chars. ATTRIBUTE_NOT_FOUND - The attribute was not found in the set of pinned attributes. ATTRIBUTE_NOT_PROCESSED - The attribute was not processed, as there was another attribute in this bulk request collection that resulted in a processing error.
attributeStatus
- the value to setpublic AttributeUnpinResponse.Builder timeUpdated(Date timeUpdated)
Time when the attribute was activated or deactivated. Note that ingest might not have picked up the changes even if this time has elapsed.
timeUpdated
- the value to setpublic AttributeUnpinResponse build()
public AttributeUnpinResponse.Builder copy(AttributeUnpinResponse model)
Copyright © 2016–2024. All rights reserved.