Class ListTablesResult
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.model.ListTablesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListTablesResult extends Object implements Serializable, Cloneable
Represents the output of a ListTables operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListTablesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTablesResult
clone()
boolean
equals(Object obj)
String
getLastEvaluatedTableName()
The name of the last table in the current page of results.List<String>
getTableNames()
The names of the tables associated with the current account at the current endpoint.int
hashCode()
void
setLastEvaluatedTableName(String lastEvaluatedTableName)
The name of the last table in the current page of results.void
setTableNames(Collection<String> tableNames)
The names of the tables associated with the current account at the current endpoint.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTablesResult
withLastEvaluatedTableName(String lastEvaluatedTableName)
The name of the last table in the current page of results.ListTablesResult
withTableNames(String... tableNames)
The names of the tables associated with the current account at the current endpoint.ListTablesResult
withTableNames(Collection<String> tableNames)
The names of the tables associated with the current account at the current endpoint.
-
-
-
Method Detail
-
getTableNames
public List<String> getTableNames()
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
- Returns:
- The names of the tables associated with the current account at
the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
-
setTableNames
public void setTableNames(Collection<String> tableNames)
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
- Parameters:
tableNames
- The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
-
withTableNames
public ListTablesResult withTableNames(String... tableNames)
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
NOTE: This method appends the values to the existing list (if any). Use
setTableNames(java.util.Collection)
orwithTableNames(java.util.Collection)
if you want to override the existing values.- Parameters:
tableNames
- The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTableNames
public ListTablesResult withTableNames(Collection<String> tableNames)
The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.
If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
- Parameters:
tableNames
- The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.If LastEvaluatedTableName also appears in the output, you can use this value as the ExclusiveStartTableName parameter in a subsequent ListTables request and obtain the next page of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastEvaluatedTableName
public void setLastEvaluatedTableName(String lastEvaluatedTableName)
The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.
If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
- Parameters:
lastEvaluatedTableName
- The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
-
getLastEvaluatedTableName
public String getLastEvaluatedTableName()
The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.
If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
- Returns:
- The name of the last table in the current page of results. Use
this value as the ExclusiveStartTableName in a new request
to obtain the next page of results, until all the table names are
returned.
If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
-
withLastEvaluatedTableName
public ListTablesResult withLastEvaluatedTableName(String lastEvaluatedTableName)
The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.
If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
- Parameters:
lastEvaluatedTableName
- The name of the last table in the current page of results. Use this value as the ExclusiveStartTableName in a new request to obtain the next page of results, until all the table names are returned.If you do not receive a LastEvaluatedTableName value in the response, this means that there are no more table names to be retrieved.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTablesResult clone()
-
-