@Generated(value="software.amazon.awssdk:codegen") public final class CreateRowData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateRowData.Builder,CreateRowData>
Data needed to create a single row in a table as part of the BatchCreateTableRows request.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateRowData.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
batchItemId()
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows
request.
|
static CreateRowData.Builder |
builder() |
Map<String,CellInput> |
cellsToCreate()
A map representing the cells to create in the new row.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCellsToCreate()
Returns true if the CellsToCreate 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRowData.Builder> |
serializableBuilderClass() |
CreateRowData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String batchItemId()
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows request. This can be any string that you can use to identify the row in the request. The BatchCreateTableRows API puts the batch item id in the results to allow you to link data in the request to data in the results.
public boolean hasCellsToCreate()
public Map<String,CellInput> cellsToCreate()
A map representing the cells to create in the new row. The key is the column id of the cell and the value is the CellInput object that represents the data to set in that cell.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCellsToCreate() to see if a value was sent in this field.
public CreateRowData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateRowData.Builder,CreateRowData>public static CreateRowData.Builder builder()
public static Class<? extends CreateRowData.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.