public class BatchWriteItemSpec extends Object
Constructor | Description |
---|---|
BatchWriteItemSpec() |
Modifier and Type | Method | Description |
---|---|---|
ProgressListener |
getProgressListener() |
|
T |
getRequest() |
Internal method.
|
RequestMetricCollector |
getRequestMetricCollector() |
|
String |
getReturnConsumedCapacity() |
|
Collection<TableWriteItems> |
getTableWriteItems() |
|
Map<String,List<WriteRequest>> |
getUnprocessedItems() |
|
void |
setProgressListener(ProgressListener progressListener) |
|
void |
setRequest(T req) |
|
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 void setRequest(T req)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.