|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.dynamodb.model.DeleteTableRequest
public class DeleteTableRequest
Container for the parameters to the DeleteTable operation
.
Deletes a table and all of its items.
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
.
AmazonDynamoDB.deleteTable(DeleteTableRequest)
Constructor Summary | |
---|---|
DeleteTableRequest()
Default constructor for a new DeleteTableRequest object. |
|
DeleteTableRequest(String tableName)
Constructs a new DeleteTableRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getTableName()
The name of the table you want to delete. |
int |
hashCode()
|
void |
setTableName(String tableName)
The name of the table you want to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteTableRequest |
withTableName(String tableName)
The name of the table you want to delete. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteTableRequest()
public DeleteTableRequest(String tableName)
tableName
- The name of the table you want to delete. Allowed
characters are a-z
, A-Z
, 0-9
,
_
(underscore), -
(hyphen) and
.
(period).Method Detail |
---|
public String getTableName()
a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period).
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period).public void setTableName(String tableName)
a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period).
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The name of the table you want to delete. Allowed characters are
a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period).public DeleteTableRequest withTableName(String tableName)
a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period).
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 you want to delete. Allowed characters are
a-z
, A-Z
, 0-9
, _
(underscore), -
(hyphen) and .
(period).
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |