@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchExecuteStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchExecuteStatementResult() |
Modifier and Type | Method and Description |
---|---|
BatchExecuteStatementResult |
clone() |
boolean |
equals(Object obj) |
List<ConsumedCapacity> |
getConsumedCapacity()
The capacity units consumed by the entire operation.
|
List<BatchStatementResponse> |
getResponses()
The response to each PartiQL statement in the batch.
|
int |
hashCode() |
void |
setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation.
|
void |
setResponses(Collection<BatchStatementResponse> responses)
The response to each PartiQL statement in the batch.
|
String |
toString()
Returns a string representation of this object.
|
BatchExecuteStatementResult |
withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire operation.
|
BatchExecuteStatementResult |
withConsumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entire operation.
|
BatchExecuteStatementResult |
withResponses(BatchStatementResponse... responses)
The response to each PartiQL statement in the batch.
|
BatchExecuteStatementResult |
withResponses(Collection<BatchStatementResponse> responses)
The response to each PartiQL statement in the batch.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BatchStatementResponse> getResponses()
The response to each PartiQL statement in the batch.
public void setResponses(Collection<BatchStatementResponse> responses)
The response to each PartiQL statement in the batch.
responses
- The response to each PartiQL statement in the batch.public BatchExecuteStatementResult withResponses(BatchStatementResponse... responses)
The response to each PartiQL statement in the batch.
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 each PartiQL statement in the batch.public BatchExecuteStatementResult withResponses(Collection<BatchStatementResponse> responses)
The response to each PartiQL statement in the batch.
responses
- The response to each PartiQL statement in the batch.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 BatchExecuteStatementResult 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 BatchExecuteStatementResult 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 BatchExecuteStatementResult clone()
Copyright © 2022. All rights reserved.