|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.dynamodbv2.model.DeleteTableRequest
public class DeleteTableRequest
Container for the parameters to the 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 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 DynamoDB returns a
ResourceInUseException . If the specified
table does not exist, DynamoDB returns a
ResourceNotFoundException . If table is already in the
DELETING
state, no error is returned.
NOTE: 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 indexes on that table are also deleted.
Use the DescribeTable API to check the status of the table.
AmazonDynamoDB.deleteTable(DeleteTableRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteTableRequest()
Default constructor for a new DeleteTableRequest object. |
|
DeleteTableRequest(java.lang.String tableName)
Constructs a new DeleteTableRequest object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteTableRequest()
public DeleteTableRequest(java.lang.String tableName)
tableName
- The name of the table to delete.Method Detail |
---|
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
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |