@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRowData 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 |
---|
UpdateRowData() |
Modifier and Type | Method and Description |
---|---|
UpdateRowData |
addCellsToUpdateEntry(String key,
CellInput value)
Add a single CellsToUpdate entry
|
UpdateRowData |
clearCellsToUpdateEntries()
Removes all the entries added into CellsToUpdate.
|
UpdateRowData |
clone() |
boolean |
equals(Object obj) |
Map<String,CellInput> |
getCellsToUpdate()
A map representing the cells to update in the given row.
|
String |
getRowId()
The id of the row that needs to be updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCellsToUpdate(Map<String,CellInput> cellsToUpdate)
A map representing the cells to update in the given row.
|
void |
setRowId(String rowId)
The id of the row that needs to be updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRowData |
withCellsToUpdate(Map<String,CellInput> cellsToUpdate)
A map representing the cells to update in the given row.
|
UpdateRowData |
withRowId(String rowId)
The id of the row that needs to be updated.
|
public void setRowId(String rowId)
The id of the row that needs to be updated.
rowId
- The id of the row that needs to be updated.public String getRowId()
The id of the row that needs to be updated.
public UpdateRowData withRowId(String rowId)
The id of the row that needs to be updated.
rowId
- The id of the row that needs to be updated.public Map<String,CellInput> getCellsToUpdate()
A map representing the cells to update in the given 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 setCellsToUpdate(Map<String,CellInput> cellsToUpdate)
A map representing the cells to update in the given 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.
cellsToUpdate
- A map representing the cells to update in the given 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 UpdateRowData withCellsToUpdate(Map<String,CellInput> cellsToUpdate)
A map representing the cells to update in the given 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.
cellsToUpdate
- A map representing the cells to update in the given 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 UpdateRowData addCellsToUpdateEntry(String key, CellInput value)
public UpdateRowData clearCellsToUpdateEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateRowData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.