@Generated(value="software.amazon.awssdk:codegen") public final class BatchUpsertTableRowsResponse extends HoneycodeResponse implements ToCopyableBuilder<BatchUpsertTableRowsResponse.Builder,BatchUpsertTableRowsResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchUpsertTableRowsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchUpsertTableRowsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<FailedBatchItem> |
failedBatchItems()
The list of batch items in the request that could not be updated or appended in the table.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFailedBatchItems()
Returns true if the FailedBatchItems property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRows()
Returns true if the Rows property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Map<String,UpsertRowsResult> |
rows()
A map with the batch item id as the key and the result of the upsert operation as the value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchUpsertTableRowsResponse.Builder> |
serializableBuilderClass() |
BatchUpsertTableRowsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Long |
workbookCursor()
The updated workbook cursor after updating or appending rows in the table.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasRows()
public 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRows() to see if a value was sent in this field.
public Long workbookCursor()
The updated workbook cursor after updating or appending rows in the table.
public boolean hasFailedBatchItems()
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFailedBatchItems() to see if a value was sent in this field.
public BatchUpsertTableRowsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchUpsertTableRowsResponse.Builder,BatchUpsertTableRowsResponse>toBuilder in class AwsResponsepublic static BatchUpsertTableRowsResponse.Builder builder()
public static Class<? extends BatchUpsertTableRowsResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.