public class BatchWriteItemSpec extends Object
Constructor and Description |
---|
BatchWriteItemSpec() |
Modifier and Type | Method and Description |
---|---|
ProgressListener |
getProgressListener() |
T |
getRequest()
Internal method.
|
RequestMetricCollector |
getRequestMetricCollector() |
String |
getReturnConsumedCapacity() |
Collection<TableWriteItems> |
getTableWriteItems() |
Map<String,List<WriteRequest>> |
getUnprocessedItems() |
void |
setProgressListener(ProgressListener progressListener) |
void |
setRequestMetricCollector(RequestMetricCollector requestMetricCollector) |
BatchWriteItemSpec |
withProgressListener(ProgressListener progressListener) |
BatchWriteItemSpec |
withRequestMetricCollector(RequestMetricCollector requestMetricCollector) |
BatchWriteItemSpec |
withReturnConsumedCapacity(ReturnConsumedCapacity capacity) |
BatchWriteItemSpec |
withTableWriteItems(TableWriteItems... tableWriteItems) |
BatchWriteItemSpec |
withUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems) |
public Collection<TableWriteItems> getTableWriteItems()
public BatchWriteItemSpec withTableWriteItems(TableWriteItems... tableWriteItems)
public String getReturnConsumedCapacity()
public BatchWriteItemSpec withReturnConsumedCapacity(ReturnConsumedCapacity capacity)
public BatchWriteItemSpec withProgressListener(ProgressListener progressListener)
public BatchWriteItemSpec withRequestMetricCollector(RequestMetricCollector requestMetricCollector)
public Map<String,List<WriteRequest>> getUnprocessedItems()
public BatchWriteItemSpec withUnprocessedItems(Map<String,List<WriteRequest>> unprocessedItems)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Copyright © 2023. All rights reserved.