@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TableRow extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains attributes about a single row in a table
Constructor and Description |
---|
TableRow() |
Modifier and Type | Method and Description |
---|---|
TableRow |
clone() |
boolean |
equals(Object obj) |
List<Cell> |
getCells()
A list of cells in the table row.
|
String |
getRowId()
The id of the row in the table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCells(Collection<Cell> cells)
A list of cells in the table row.
|
void |
setRowId(String rowId)
The id of the row in the table.
|
String |
toString()
Returns a string representation of this object.
|
TableRow |
withCells(Cell... cells)
A list of cells in the table row.
|
TableRow |
withCells(Collection<Cell> cells)
A list of cells in the table row.
|
TableRow |
withRowId(String rowId)
The id of the row in the table.
|
public void setRowId(String rowId)
The id of the row in the table.
rowId
- The id of the row in the table.public String getRowId()
The id of the row in the table.
public TableRow withRowId(String rowId)
The id of the row in the table.
rowId
- The id of the row in the table.public List<Cell> getCells()
A list of cells in the table row. The cells appear in the same order as the columns of the table.
public void setCells(Collection<Cell> cells)
A list of cells in the table row. The cells appear in the same order as the columns of the table.
cells
- A list of cells in the table row. The cells appear in the same order as the columns of the table.public TableRow withCells(Cell... cells)
A list of cells in the table row. The cells appear in the same order as the columns of the table.
NOTE: This method appends the values to the existing list (if any). Use
setCells(java.util.Collection)
or withCells(java.util.Collection)
if you want to override the
existing values.
cells
- A list of cells in the table row. The cells appear in the same order as the columns of the table.public TableRow withCells(Collection<Cell> cells)
A list of cells in the table row. The cells appear in the same order as the columns of the table.
cells
- A list of cells in the table row. The cells appear in the same order as the columns of the table.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.