Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodbv2.model
Class ListTablesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.dynamodbv2.model.ListTablesRequest
All Implemented Interfaces:
Serializable

public class ListTablesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the ListTables operation.

Returns an array of all the tables associated with the current account and endpoint.

Each Amazon DynamoDB endpoint is entirely independent. For example, if you have two tables called "MyTable," one in dynamodb.us-east-1.amazonaws.com and one in dynamodb.us-west-1.amazonaws.com , they are completely independent and do not share any data. The ListTables operation returns all of the table names associated with the account making the request, for the endpoint that receives the request.

See Also:
AmazonDynamoDB.listTables(ListTablesRequest), Serialized Form

Constructor Summary
ListTablesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getExclusiveStartTableName()
          The name of the table that starts the list.
 Integer getLimit()
          A maximum number of table names to return.
 int hashCode()
           
 void setExclusiveStartTableName(String exclusiveStartTableName)
          The name of the table that starts the list.
 void setLimit(Integer limit)
          A maximum number of table names to return.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListTablesRequest withExclusiveStartTableName(String exclusiveStartTableName)
          The name of the table that starts the list.
 ListTablesRequest withLimit(Integer limit)
          A maximum number of table names to return.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListTablesRequest

public ListTablesRequest()
Method Detail

getExclusiveStartTableName

public String getExclusiveStartTableName()
The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.

Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+

Returns:
The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.

setExclusiveStartTableName

public void setExclusiveStartTableName(String exclusiveStartTableName)
The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.

Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+

Parameters:
exclusiveStartTableName - The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.

withExclusiveStartTableName

public ListTablesRequest withExclusiveStartTableName(String exclusiveStartTableName)
The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+

Parameters:
exclusiveStartTableName - The name of the table that starts the list. If you already ran a ListTables operation and received a LastEvaluatedTableName value in the response, use that value here to continue the list.
Returns:
A reference to this updated object so that method calls can be chained together.

getLimit

public Integer getLimit()
A maximum number of table names to return.

Constraints:
Range: 1 - 100

Returns:
A maximum number of table names to return.

setLimit

public void setLimit(Integer limit)
A maximum number of table names to return.

Constraints:
Range: 1 - 100

Parameters:
limit - A maximum number of table names to return.

withLimit

public ListTablesRequest withLimit(Integer limit)
A maximum number of table names to return.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Range: 1 - 100

Parameters:
limit - A maximum number of table names to return.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.