DeleteTableRequest
instead.@Deprecated public class DeleteTableRequest extends AmazonWebServiceRequest implements Serializable
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
.
NOOP
Constructor and Description |
---|
DeleteTableRequest()
Deprecated.
Default constructor for a new DeleteTableRequest object.
|
DeleteTableRequest(String tableName)
Deprecated.
Constructs a new DeleteTableRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getTableName()
Deprecated.
The name of the table you want to delete.
|
int |
hashCode()
Deprecated.
|
void |
setTableName(String tableName)
Deprecated.
The name of the table you want to delete.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTableRequest |
withTableName(String tableName)
Deprecated.
The name of the table you want to delete.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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).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()
Copyright © 2014. All rights reserved.