Class ListTablesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.dynamodbv2.model.ListTablesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListTablesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a ListTables operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTablesRequest()
Default constructor for ListTablesRequest object.ListTablesRequest(String exclusiveStartTableName)
Constructs a new ListTablesRequest object.ListTablesRequest(String exclusiveStartTableName, Integer limit)
Constructs a new ListTablesRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTablesRequest
clone()
Creates a shallow clone of this request.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
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Constructor Detail
-
ListTablesRequest
public ListTablesRequest()
Default constructor for ListTablesRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the 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
-
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.
- 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.
-
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.
- 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.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
A maximum number of table names to return. If this parameter is not specified, the limit is 100.
- Parameters:
limit
- A maximum number of table names to return. If this parameter is not specified, the limit is 100.
-
getLimit
public Integer getLimit()
A maximum number of table names to return. If this parameter is not specified, the limit is 100.
- Returns:
- 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.
- Parameters:
limit
- A maximum number of table names to return. If this parameter is not specified, the limit is 100.- 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 ListTablesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-