@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpsertTableRowsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchUpsertTableRowsResult() |
Modifier and Type | Method and Description |
---|---|
BatchUpsertTableRowsResult |
addRowsEntry(String key,
UpsertRowsResult value)
Add a single Rows entry
|
BatchUpsertTableRowsResult |
clearRowsEntries()
Removes all the entries added into Rows.
|
BatchUpsertTableRowsResult |
clone() |
boolean |
equals(Object obj) |
List<FailedBatchItem> |
getFailedBatchItems()
The list of batch items in the request that could not be updated or appended in the table.
|
Map<String,UpsertRowsResult> |
getRows()
A map with the batch item id as the key and the result of the upsert operation as the value.
|
Long |
getWorkbookCursor()
The updated workbook cursor after updating or appending rows in the table.
|
int |
hashCode() |
void |
setFailedBatchItems(Collection<FailedBatchItem> failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table.
|
void |
setRows(Map<String,UpsertRowsResult> rows)
A map with the batch item id as the key and the result of the upsert operation as the value.
|
void |
setWorkbookCursor(Long workbookCursor)
The updated workbook cursor after updating or appending rows in the table.
|
String |
toString()
Returns a string representation of this object.
|
BatchUpsertTableRowsResult |
withFailedBatchItems(Collection<FailedBatchItem> failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table.
|
BatchUpsertTableRowsResult |
withFailedBatchItems(FailedBatchItem... failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table.
|
BatchUpsertTableRowsResult |
withRows(Map<String,UpsertRowsResult> rows)
A map with the batch item id as the key and the result of the upsert operation as the value.
|
BatchUpsertTableRowsResult |
withWorkbookCursor(Long workbookCursor)
The updated workbook cursor after updating or appending rows in the table.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,UpsertRowsResult> getRows()
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
public void setRows(Map<String,UpsertRowsResult> rows)
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
rows
- A map with the batch item id as the key and the result of the upsert operation as the value. The result of
the upsert operation specifies whether existing rows were updated or a new row was appended, along with
the list of row ids that were affected.public BatchUpsertTableRowsResult withRows(Map<String,UpsertRowsResult> rows)
A map with the batch item id as the key and the result of the upsert operation as the value. The result of the upsert operation specifies whether existing rows were updated or a new row was appended, along with the list of row ids that were affected.
rows
- A map with the batch item id as the key and the result of the upsert operation as the value. The result of
the upsert operation specifies whether existing rows were updated or a new row was appended, along with
the list of row ids that were affected.public BatchUpsertTableRowsResult addRowsEntry(String key, UpsertRowsResult value)
public BatchUpsertTableRowsResult clearRowsEntries()
public void setWorkbookCursor(Long workbookCursor)
The updated workbook cursor after updating or appending rows in the table.
workbookCursor
- The updated workbook cursor after updating or appending rows in the table.public Long getWorkbookCursor()
The updated workbook cursor after updating or appending rows in the table.
public BatchUpsertTableRowsResult withWorkbookCursor(Long workbookCursor)
The updated workbook cursor after updating or appending rows in the table.
workbookCursor
- The updated workbook cursor after updating or appending rows in the table.public List<FailedBatchItem> getFailedBatchItems()
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
public void setFailedBatchItems(Collection<FailedBatchItem> failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
failedBatchItems
- The list of batch items in the request that could not be updated or appended in the table. Each element in
this list contains one item from the request that could not be updated in the table along with the reason
why that item could not be updated or appended.public BatchUpsertTableRowsResult withFailedBatchItems(FailedBatchItem... failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
NOTE: This method appends the values to the existing list (if any). Use
setFailedBatchItems(java.util.Collection)
or withFailedBatchItems(java.util.Collection)
if you
want to override the existing values.
failedBatchItems
- The list of batch items in the request that could not be updated or appended in the table. Each element in
this list contains one item from the request that could not be updated in the table along with the reason
why that item could not be updated or appended.public BatchUpsertTableRowsResult withFailedBatchItems(Collection<FailedBatchItem> failedBatchItems)
The list of batch items in the request that could not be updated or appended in the table. Each element in this list contains one item from the request that could not be updated in the table along with the reason why that item could not be updated or appended.
failedBatchItems
- The list of batch items in the request that could not be updated or appended in the table. Each element in
this list contains one item from the request that could not be updated in the table along with the reason
why that item could not be updated or appended.public String toString()
toString
in class Object
Object.toString()
public BatchUpsertTableRowsResult clone()