/** * <p> * Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response includes * statistics about item collections, if any, that were modified during the operation are returned in the response. * If set to <code>NONE</code> (the default), no statistics are returned. * </p> * * @param returnItemCollectionMetrics * Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response * includes statistics about item collections, if any, that were modified during the operation are returned * in the response. If set to <code>NONE</code> (the default), no statistics are returned. * @return Returns a reference to this object so that method calls can be chained together. * @see ReturnItemCollectionMetrics */ public BatchWriteItemRequest withReturnItemCollectionMetrics(String returnItemCollectionMetrics) { setReturnItemCollectionMetrics(returnItemCollectionMetrics); return this; }
/** * <p> * Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response includes * statistics about item collections, if any, that were modified during the operation are returned in the response. * If set to <code>NONE</code> (the default), no statistics are returned. * </p> * * @param returnItemCollectionMetrics * Determines whether item collection metrics are returned. If set to <code>SIZE</code>, the response * includes statistics about item collections, if any, that were modified during the operation are returned * in the response. If set to <code>NONE</code> (the default), no statistics are returned. * @return Returns a reference to this object so that method calls can be chained together. * @see ReturnItemCollectionMetrics */ public BatchWriteItemRequest withReturnItemCollectionMetrics(String returnItemCollectionMetrics) { setReturnItemCollectionMetrics(returnItemCollectionMetrics); return this; }