@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTablesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTablesResult() |
Modifier and Type | Method and Description |
---|---|
ListTablesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to specify where to start paginating.
|
List<Table> |
getTables()
A list of tables.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to specify where to start paginating.
|
void |
setTables(Collection<Table> tables)
A list of tables.
|
String |
toString()
Returns a string representation of this object.
|
ListTablesResult |
withNextToken(String nextToken)
A token to specify where to start paginating.
|
ListTablesResult |
withTables(Collection<Table> tables)
A list of tables.
|
ListTablesResult |
withTables(Table... tables)
A list of tables.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTables(Collection<Table> tables)
A list of tables.
tables
- A list of tables.public ListTablesResult withTables(Table... tables)
A list of tables.
NOTE: This method appends the values to the existing list (if any). Use
setTables(java.util.Collection)
or withTables(java.util.Collection)
if you want to override the
existing values.
tables
- A list of tables.public ListTablesResult withTables(Collection<Table> tables)
A list of tables.
tables
- A list of tables.public void setNextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the NextToken from a previously truncated response.public String getNextToken()
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
public ListTablesResult withNextToken(String nextToken)
A token to specify where to start paginating. This is the NextToken from a previously truncated response.
nextToken
- A token to specify where to start paginating. This is the NextToken from a previously truncated response.public String toString()
toString
in class Object
Object.toString()
public ListTablesResult clone()