Package ai.vectros.types
Class BatchWriteResult.Builder
java.lang.Object
ai.vectros.types.BatchWriteResult.Builder
- Enclosing class:
BatchWriteResult
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()error(Nullable<BatchItemError> error) error(BatchItemError error) error(Optional<BatchItemError> error) externalId(Nullable<String> externalId) externalId(String externalId) externalId(Optional<String> externalId) TheexternalIdyou supplied for this item, echoed back when present.from(BatchWriteResult other) The id assigned to the written record.Zero-based position of this item in theitemsarray you submitted.status(BatchWriteResultStatus status) status(Optional<BatchWriteResultStatus> status) The outcome for this item.
-
Method Details
-
from
-
index
Zero-based position of this item in the
itemsarray you submitted. Use it to correlate this result with the item you sent. -
index
-
id
The id assigned to the written record. Present when this item was created or updated; null when it failed (status
conflictorinvalid). -
id
-
id
-
externalId
The
externalIdyou supplied for this item, echoed back when present. Null when the item carried noexternalId. -
externalId
-
externalId
-
status
The outcome for this item.
createdandupdatedare successes;conflictis a uniqueness or version conflict;invalidis a validation failure. -
status
-
error
-
error
-
error
-
build
-
additionalProperty
-
additionalProperties
-