public class DescribeTableRequest extends AmazonWebServiceRequest implements Serializable
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.
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.
| Constructor and Description |
|---|
DescribeTableRequest()
Default constructor for 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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DescribeTableRequest()
public DescribeTableRequest(String tableName)
tableName - The name of the table to describe.
public String getTableName()
The name of the table to describe.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The name of the table to describe.
public void setTableName(String tableName)
The name of the table to describe.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName - The name of the table to describe.
public DescribeTableRequest withTableName(String tableName)
The name of the table to describe.
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 © 2018. All rights reserved.