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:
  • Constructor Details

    • ListTablesResult

      public ListTablesResult()
  • Method Details

    • 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) or withTableNames(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListTablesResult clone()
      Overrides:
      clone in class Object