* The response to a PartiQL transaction. *
*/ private java.util.List* The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering * of the statements. *
*/ private java.util.List* The response to a PartiQL transaction. *
* * @return The response to a PartiQL transaction. */ public java.util.List* The response to a PartiQL transaction. *
* * @param responses * The response to a PartiQL transaction. */ public void setResponses(java.util.Collection* The response to a PartiQL transaction. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setResponses(java.util.Collection)} or {@link #withResponses(java.util.Collection)} if you want to * override the existing values. *
* * @param responses * The response to a PartiQL transaction. * @return Returns a reference to this object so that method calls can be chained together. */ public ExecuteTransactionResult withResponses(ItemResponse... responses) { if (this.responses == null) { setResponses(new java.util.ArrayList* The response to a PartiQL transaction. *
* * @param responses * The response to a PartiQL transaction. * @return Returns a reference to this object so that method calls can be chained together. */ public ExecuteTransactionResult withResponses(java.util.Collection* The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering * of the statements. *
* * @return The capacity units consumed by the entire operation. The values of the list are ordered according to the * ordering of the statements. */ public java.util.List* The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering * of the statements. *
* * @param consumedCapacity * The capacity units consumed by the entire operation. The values of the list are ordered according to the * ordering of the statements. */ public void setConsumedCapacity(java.util.Collection* The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering * of the statements. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setConsumedCapacity(java.util.Collection)} or {@link #withConsumedCapacity(java.util.Collection)} if you * want to override the existing values. *
* * @param consumedCapacity * The capacity units consumed by the entire operation. The values of the list are ordered according to the * ordering of the statements. * @return Returns a reference to this object so that method calls can be chained together. */ public ExecuteTransactionResult withConsumedCapacity(ConsumedCapacity... consumedCapacity) { if (this.consumedCapacity == null) { setConsumedCapacity(new java.util.ArrayList* The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering * of the statements. *
* * @param consumedCapacity * The capacity units consumed by the entire operation. The values of the list are ordered according to the * ordering of the statements. * @return Returns a reference to this object so that method calls can be chained together. */ public ExecuteTransactionResult withConsumedCapacity(java.util.Collection