@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteTransactionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExecuteTransactionResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteTransactionResult |
clone() |
boolean |
equals(Object obj) |
List<ConsumedCapacity> |
getConsumedCapacity()
The capacity units consumed by the entire operation.
|
List<ItemResponse> |
getResponses()
The response to a PartiQL transaction.
|
int |
hashCode() |
void |
setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation.
|
void |
setResponses(Collection<ItemResponse> responses)
The response to a PartiQL transaction.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteTransactionResult |
withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation.
|
ExecuteTransactionResult |
withConsumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entire operation.
|
ExecuteTransactionResult |
withResponses(Collection<ItemResponse> responses)
The response to a PartiQL transaction.
|
ExecuteTransactionResult |
withResponses(ItemResponse... responses)
The response to a PartiQL transaction.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ItemResponse> getResponses()
The response to a PartiQL transaction.
public void setResponses(Collection<ItemResponse> responses)
The response to a PartiQL transaction.
responses
- The response to a PartiQL transaction.public ExecuteTransactionResult withResponses(ItemResponse... responses)
The response to a PartiQL transaction.
NOTE: This method appends the values to the existing list (if any). Use
setResponses(java.util.Collection)
or withResponses(java.util.Collection)
if you want to
override the existing values.
responses
- The response to a PartiQL transaction.public ExecuteTransactionResult withResponses(Collection<ItemResponse> responses)
The response to a PartiQL transaction.
responses
- The response to a PartiQL transaction.public List<ConsumedCapacity> getConsumedCapacity()
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(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
consumedCapacity
- The capacity units consumed by the entire operation. The values of the list are ordered according to the
ordering of the statements.public ExecuteTransactionResult withConsumedCapacity(ConsumedCapacity... consumedCapacity)
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
setConsumedCapacity(java.util.Collection)
or withConsumedCapacity(java.util.Collection)
if you
want to override the existing values.
consumedCapacity
- The capacity units consumed by the entire operation. The values of the list are ordered according to the
ordering of the statements.public ExecuteTransactionResult withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
consumedCapacity
- The capacity units consumed by the entire operation. The values of the list are ordered according to the
ordering of the statements.public String toString()
toString
in class Object
Object.toString()
public ExecuteTransactionResult clone()