@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactWriteItemsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
TransactWriteItemsResult() |
Modifier and Type | Method and Description |
---|---|
TransactWriteItemsResult |
addItemCollectionMetricsEntry(String key,
List<ItemCollectionMetrics> value)
Add a single ItemCollectionMetrics entry
|
TransactWriteItemsResult |
clearItemCollectionMetricsEntries()
Removes all the entries added into ItemCollectionMetrics.
|
TransactWriteItemsResult |
clone() |
boolean |
equals(Object obj) |
List<ConsumedCapacity> |
getConsumedCapacity()
The capacity units consumed by the entire
TransactWriteItems operation. |
Map<String,List<ItemCollectionMetrics>> |
getItemCollectionMetrics()
A list of tables that were processed by
TransactWriteItems and, for each table, information about
any item collections that were affected by individual UpdateItem , PutItem , or
DeleteItem operations. |
int |
hashCode() |
void |
setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire
TransactWriteItems operation. |
void |
setItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
A list of tables that were processed by
TransactWriteItems and, for each table, information about
any item collections that were affected by individual UpdateItem , PutItem , or
DeleteItem operations. |
String |
toString()
Returns a string representation of this object.
|
TransactWriteItemsResult |
withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire
TransactWriteItems operation. |
TransactWriteItemsResult |
withConsumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entire
TransactWriteItems operation. |
TransactWriteItemsResult |
withItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
A list of tables that were processed by
TransactWriteItems and, for each table, information about
any item collections that were affected by individual UpdateItem , PutItem , or
DeleteItem operations. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ConsumedCapacity> getConsumedCapacity()
The capacity units consumed by the entire TransactWriteItems
operation. The values of the list are
ordered according to the ordering of the TransactItems
request parameter.
TransactWriteItems
operation. The values of the
list are ordered according to the ordering of the TransactItems
request parameter.public void setConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire TransactWriteItems
operation. The values of the list are
ordered according to the ordering of the TransactItems
request parameter.
consumedCapacity
- The capacity units consumed by the entire TransactWriteItems
operation. The values of the
list are ordered according to the ordering of the TransactItems
request parameter.public TransactWriteItemsResult withConsumedCapacity(ConsumedCapacity... consumedCapacity)
The capacity units consumed by the entire TransactWriteItems
operation. The values of the list are
ordered according to the ordering of the TransactItems
request parameter.
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 TransactWriteItems
operation. The values of the
list are ordered according to the ordering of the TransactItems
request parameter.public TransactWriteItemsResult withConsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
The capacity units consumed by the entire TransactWriteItems
operation. The values of the list are
ordered according to the ordering of the TransactItems
request parameter.
consumedCapacity
- The capacity units consumed by the entire TransactWriteItems
operation. The values of the
list are ordered according to the ordering of the TransactItems
request parameter.public Map<String,List<ItemCollectionMetrics>> getItemCollectionMetrics()
A list of tables that were processed by TransactWriteItems
and, for each table, information about
any item collections that were affected by individual UpdateItem
, PutItem
, or
DeleteItem
operations.
TransactWriteItems
and, for each table, information
about any item collections that were affected by individual UpdateItem
, PutItem
, or DeleteItem
operations.public void setItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
A list of tables that were processed by TransactWriteItems
and, for each table, information about
any item collections that were affected by individual UpdateItem
, PutItem
, or
DeleteItem
operations.
itemCollectionMetrics
- A list of tables that were processed by TransactWriteItems
and, for each table, information
about any item collections that were affected by individual UpdateItem
, PutItem
,
or DeleteItem
operations.public TransactWriteItemsResult withItemCollectionMetrics(Map<String,List<ItemCollectionMetrics>> itemCollectionMetrics)
A list of tables that were processed by TransactWriteItems
and, for each table, information about
any item collections that were affected by individual UpdateItem
, PutItem
, or
DeleteItem
operations.
itemCollectionMetrics
- A list of tables that were processed by TransactWriteItems
and, for each table, information
about any item collections that were affected by individual UpdateItem
, PutItem
,
or DeleteItem
operations.public TransactWriteItemsResult addItemCollectionMetricsEntry(String key, List<ItemCollectionMetrics> value)
public TransactWriteItemsResult clearItemCollectionMetricsEntries()
public String toString()
toString
in class Object
Object.toString()
public TransactWriteItemsResult clone()
Copyright © 2022. All rights reserved.