@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRowData extends Object implements Serializable, Cloneable, StructuredPojo
Data needed to create a single row in a table as part of the BatchCreateTableRows request.
Constructor and Description |
---|
CreateRowData() |
Modifier and Type | Method and Description |
---|---|
CreateRowData |
addCellsToCreateEntry(String key,
CellInput value)
Add a single CellsToCreate entry
|
CreateRowData |
clearCellsToCreateEntries()
Removes all the entries added into CellsToCreate.
|
CreateRowData |
clone() |
boolean |
equals(Object obj) |
String |
getBatchItemId()
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows
request.
|
Map<String,CellInput> |
getCellsToCreate()
A map representing the cells to create in the new row.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchItemId(String batchItemId)
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows
request.
|
void |
setCellsToCreate(Map<String,CellInput> cellsToCreate)
A map representing the cells to create in the new row.
|
String |
toString()
Returns a string representation of this object.
|
CreateRowData |
withBatchItemId(String batchItemId)
An external identifier that represents the single row that is being created as part of the BatchCreateTableRows
request.
|
CreateRowData |
withCellsToCreate(Map<String,CellInput> cellsToCreate)
A map representing the cells to create in the new row.
|
public void setBatchItemId(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.
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 String getBatchItemId()
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 CreateRowData withBatchItemId(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.
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 Map<String,CellInput> getCellsToCreate()
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.
public void setCellsToCreate(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.
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.public CreateRowData withCellsToCreate(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.
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.public CreateRowData addCellsToCreateEntry(String key, CellInput value)
public CreateRowData clearCellsToCreateEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRowData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.