public class DeleteTableRequest extends AmazonWebServiceRequest implements java.io.Serializable
DeleteTable operation.
The DeleteTable operation deletes a table and all of its items. After a DeleteTable request, the specified table is in the
DELETING state until Amazon DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete it. If a
table is in CREATING or UPDATING states, then Amazon DynamoDB returns a
ResourceInUseException . If the specified table does not exist, Amazon DynamoDB returns a ResourceNotFoundException
. If table is already in the DELETING state, no error is returned.
NOTE: Amazon DynamoDB might continue to accept data read and write operations, such as GetItem and PutItem, on a table in the DELETING state until the table deletion is complete.
When you delete a table, any local secondary indexes on that table are also deleted.
Use the DescribeTable API to check the status of the table.
| コンストラクタと説明 |
|---|
DeleteTableRequest()
Default constructor for a new DeleteTableRequest object.
|
DeleteTableRequest(java.lang.String tableName)
Constructs a new DeleteTableRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getTableName()
The name of the table to delete.
|
int |
hashCode() |
void |
setTableName(java.lang.String tableName)
The name of the table to delete.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTableRequest |
withTableName(java.lang.String tableName)
The name of the table to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeleteTableRequest()
public DeleteTableRequest(java.lang.String tableName)
tableName - The name of the table to delete.public java.lang.String getTableName()
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
public void setTableName(java.lang.String tableName)
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName - The name of the table to delete.public DeleteTableRequest withTableName(java.lang.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 delete.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object