public class DescribeTableRequest extends AmazonWebServiceRequest implements Serializable
DescribeTable operation.
Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.
NOTE: If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might return a ResourceNotFoundException. This is because DescribeTable uses an eventually consistent query, and the metadata for your table might not be available at that moment. Wait for a few seconds, and then try the DescribeTable request again.
NOOP| Constructor and Description |
|---|
DescribeTableRequest()
Default constructor for a new DescribeTableRequest object.
|
DescribeTableRequest(String tableName)
Constructs a new DescribeTableRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getTableName()
The name of the table to describe.
|
int |
hashCode() |
void |
setTableName(String tableName)
The name of the table to describe.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTableRequest |
withTableName(String tableName)
The name of the table to describe.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DescribeTableRequest()
public DescribeTableRequest(String tableName)
tableName - The name of the table to describe.public String getTableName()
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
public void setTableName(String tableName)
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName - The name of the table to describe.public DescribeTableRequest withTableName(String tableName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName - The name of the table to describe.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.