()
| 20 | abstract transactWriteItem(): TransactWriteItem; |
| 21 | |
| 22 | build() { |
| 23 | const write: any = { ...super.build(), TableName: this.tableName }; |
| 24 | if (this.returnConsumedCapacity !== undefined) write.ReturnConsumedCapacity = this.returnConsumedCapacity; |
| 25 | if (this.returnItemCollectionMetrics !== undefined) write.ReturnItemCollectionMetrics = this.returnItemCollectionMetrics; |
| 26 | if (this.returnValues !== undefined) write.ReturnValues = this.returnValues; |
| 27 | return write; |
| 28 | } |
| 29 | } |