public class DescribeTableRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.String tableName)
Constructs a new DescribeTableRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTableName()
The name of the table to describe.
|
int |
hashCode() |
void |
setTableName(java.lang.String tableName)
The name of the table to describe.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTableRequest |
withTableName(java.lang.String tableName)
The name of the table to describe.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public DescribeTableRequest()
public DescribeTableRequest(java.lang.String tableName)
tableName
- The name of the table to describe.
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.