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 table names associated with the current account and endpoint. The output from ListTables is paginated, with each page returning a maximum of 100 table names.

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

Constructor Summary
ListTablesRequest()
          Default constructor for a new ListTablesRequest object.
ListTablesRequest(String exclusiveStartTableName)
          Constructs a new ListTablesRequest object.
ListTablesRequest(String exclusiveStartTableName, Integer limit)
          Constructs a new ListTablesRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getExclusiveStartTableName()
          The first table name that this operation will evaluate.
 Integer getLimit()
          A maximum number of table names to return.
 int hashCode()
           
 void setExclusiveStartTableName(String exclusiveStartTableName)
          The first table name that this operation will evaluate.
 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 first table name that this operation will evaluate.
 ListTablesRequest withLimit(Integer limit)
          A maximum number of table names to return.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListTablesRequest

public ListTablesRequest()
Default constructor for a new ListTablesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ListTablesRequest

public ListTablesRequest(String exclusiveStartTableName)
Constructs a new ListTablesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
exclusiveStartTableName - The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

ListTablesRequest

public ListTablesRequest(String exclusiveStartTableName,
                         Integer limit)
Constructs a new ListTablesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
exclusiveStartTableName - The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.
limit - A maximum number of table names to return. If this parameter is not specified, the limit is 100.
Method Detail

getExclusiveStartTableName

public String getExclusiveStartTableName()
The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

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

Returns:
The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

setExclusiveStartTableName

public void setExclusiveStartTableName(String exclusiveStartTableName)
The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

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

Parameters:
exclusiveStartTableName - The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

withExclusiveStartTableName

public ListTablesRequest withExclusiveStartTableName(String exclusiveStartTableName)
The first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.

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 first table name that this operation will evaluate. Use the value that was returned for LastEvaluatedTableName in a previous operation, so that you can obtain the next page of results.
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. If this parameter is not specified, the limit is 100.

Constraints:
Range: 1 - 100

Returns:
A maximum number of table names to return. If this parameter is not specified, the limit is 100.

setLimit

public void setLimit(Integer limit)
A maximum number of table names to return. If this parameter is not specified, the limit is 100.

Constraints:
Range: 1 - 100

Parameters:
limit - A maximum number of table names to return. If this parameter is not specified, the limit is 100.

withLimit

public ListTablesRequest withLimit(Integer limit)
A maximum number of table names to return. If this parameter is not specified, the limit is 100.

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. If this parameter is not specified, the limit is 100.
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 © 2016. All rights reserved.