@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultRow extends Object implements Serializable, Cloneable, StructuredPojo
A single row in the ResultSet.
Constructor and Description |
---|
ResultRow() |
Modifier and Type | Method and Description |
---|---|
ResultRow |
clone() |
boolean |
equals(Object obj) |
List<DataItem> |
getDataItems()
List of all the data cells in a row.
|
String |
getRowId()
The ID for a particular row.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataItems(Collection<DataItem> dataItems)
List of all the data cells in a row.
|
void |
setRowId(String rowId)
The ID for a particular row.
|
String |
toString()
Returns a string representation of this object.
|
ResultRow |
withDataItems(Collection<DataItem> dataItems)
List of all the data cells in a row.
|
ResultRow |
withDataItems(DataItem... dataItems)
List of all the data cells in a row.
|
ResultRow |
withRowId(String rowId)
The ID for a particular row.
|
public void setRowId(String rowId)
The ID for a particular row.
rowId
- The ID for a particular row.public String getRowId()
The ID for a particular row.
public ResultRow withRowId(String rowId)
The ID for a particular row.
rowId
- The ID for a particular row.public List<DataItem> getDataItems()
List of all the data cells in a row.
public void setDataItems(Collection<DataItem> dataItems)
List of all the data cells in a row.
dataItems
- List of all the data cells in a row.public ResultRow withDataItems(DataItem... dataItems)
List of all the data cells in a row.
NOTE: This method appends the values to the existing list (if any). Use
setDataItems(java.util.Collection)
or withDataItems(java.util.Collection)
if you want to
override the existing values.
dataItems
- List of all the data cells in a row.public ResultRow withDataItems(Collection<DataItem> dataItems)
List of all the data cells in a row.
dataItems
- List of all the data cells in a row.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.