@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()
For responses, this returns true if the service returned a value for the FailedBatchItems property.
|
int |
hashCode() |
boolean |
hasRows()
For responses, this returns true if the service returned a value for the Rows property.
|
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 final boolean hasRows()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRows() method.
public final Long workbookCursor()
The updated workbook cursor after updating or appending rows in the table.
public final boolean hasFailedBatchItems()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final 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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFailedBatchItems() method.
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 final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.