@Deprecated public class CreateTableRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateTable operation.
Adds a new table to your account.
The table name must be unique among those associated with the AWS Account issuing the request, and the AWS Region that receives the request (e.g.
us-east-1 ).
The CreateTable operation triggers an asynchronous workflow to begin creating the table. Amazon DynamoDB immediately returns the state of
the table ( CREATING ) until the table is in the ACTIVE state. Once the table is in the ACTIVE state, you can
perform data plane operations.
| コンストラクタと説明 |
|---|
CreateTableRequest()
非推奨です。
Default constructor for a new CreateTableRequest object.
|
CreateTableRequest(java.lang.String tableName,
KeySchema keySchema)
非推奨です。
Constructs a new CreateTableRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj)
非推奨です。
|
KeySchema |
getKeySchema()
非推奨です。
The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
|
ProvisionedThroughput |
getProvisionedThroughput()
非推奨です。
Provisioned throughput reserves the required read and write resources
for your table in terms of
ReadCapacityUnits and
WriteCapacityUnits. |
java.lang.String |
getTableName()
非推奨です。
The name of the table you want to create.
|
int |
hashCode()
非推奨です。
|
void |
setKeySchema(KeySchema keySchema)
非推奨です。
The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
|
void |
setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
非推奨です。
Provisioned throughput reserves the required read and write resources
for your table in terms of
ReadCapacityUnits and
WriteCapacityUnits. |
void |
setTableName(java.lang.String tableName)
非推奨です。
The name of the table you want to create.
|
java.lang.String |
toString()
非推奨です。
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTableRequest |
withKeySchema(KeySchema keySchema)
非推奨です。
The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
|
CreateTableRequest |
withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
非推奨です。
Provisioned throughput reserves the required read and write resources
for your table in terms of
ReadCapacityUnits and
WriteCapacityUnits. |
CreateTableRequest |
withTableName(java.lang.String tableName)
非推奨です。
The name of the table you want to create.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateTableRequest()
public CreateTableRequest(java.lang.String tableName,
KeySchema keySchema)
tableName - The name of the table you want to create. Allowed
characters are a-z, A-Z, 0-9,
_ (underscore), - (hyphen) and
. (period).keySchema - The KeySchema identifies the primary key as a one
attribute primary key (hash) or a composite two attribute
(hash-and-range) primary key. Single attribute primary keys have one
index value: a HashKeyElement. A composite hash-and-range
primary key contains two attribute values: a
HashKeyElement and a RangeKeyElement.public java.lang.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(java.lang.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 create. Allowed characters are
a-z, A-Z, 0-9, _
(underscore), - (hyphen) and . (period).public CreateTableRequest withTableName(java.lang.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 create. Allowed characters are
a-z, A-Z, 0-9, _
(underscore), - (hyphen) and . (period).public KeySchema getKeySchema()
HashKeyElement. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement and a
RangeKeyElement.HashKeyElement. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement and a
RangeKeyElement.public void setKeySchema(KeySchema keySchema)
HashKeyElement. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement and a
RangeKeyElement.keySchema - The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
Single attribute primary keys have one index value: a
HashKeyElement. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement and a
RangeKeyElement.public CreateTableRequest withKeySchema(KeySchema keySchema)
HashKeyElement. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement and a
RangeKeyElement.
Returns a reference to this object so that method calls can be chained together.
keySchema - The KeySchema identifies the primary key as a one attribute primary
key (hash) or a composite two attribute (hash-and-range) primary key.
Single attribute primary keys have one index value: a
HashKeyElement. A composite hash-and-range primary key
contains two attribute values: a HashKeyElement and a
RangeKeyElement.public ProvisionedThroughput getProvisionedThroughput()
ReadCapacityUnits and
WriteCapacityUnits. Values for provisioned throughput
depend upon your expected read/write rates, item size, and
consistency. Provide the expected number of read and write operations,
assuming an item size of 1k and strictly consistent reads. For 2k item
size, double the value. For 3k, triple the value, etc.
Eventually-consistent reads consume half the resources of strictly
consistent reads.ReadCapacityUnits and
WriteCapacityUnits. Values for provisioned throughput
depend upon your expected read/write rates, item size, and
consistency. Provide the expected number of read and write operations,
assuming an item size of 1k and strictly consistent reads. For 2k item
size, double the value. For 3k, triple the value, etc.
Eventually-consistent reads consume half the resources of strictly
consistent reads.public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
ReadCapacityUnits and
WriteCapacityUnits. Values for provisioned throughput
depend upon your expected read/write rates, item size, and
consistency. Provide the expected number of read and write operations,
assuming an item size of 1k and strictly consistent reads. For 2k item
size, double the value. For 3k, triple the value, etc.
Eventually-consistent reads consume half the resources of strictly
consistent reads.provisionedThroughput - Provisioned throughput reserves the required read and write resources
for your table in terms of ReadCapacityUnits and
WriteCapacityUnits. Values for provisioned throughput
depend upon your expected read/write rates, item size, and
consistency. Provide the expected number of read and write operations,
assuming an item size of 1k and strictly consistent reads. For 2k item
size, double the value. For 3k, triple the value, etc.
Eventually-consistent reads consume half the resources of strictly
consistent reads.public CreateTableRequest withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
ReadCapacityUnits and
WriteCapacityUnits. Values for provisioned throughput
depend upon your expected read/write rates, item size, and
consistency. Provide the expected number of read and write operations,
assuming an item size of 1k and strictly consistent reads. For 2k item
size, double the value. For 3k, triple the value, etc.
Eventually-consistent reads consume half the resources of strictly
consistent reads.
Returns a reference to this object so that method calls can be chained together.
provisionedThroughput - Provisioned throughput reserves the required read and write resources
for your table in terms of ReadCapacityUnits and
WriteCapacityUnits. Values for provisioned throughput
depend upon your expected read/write rates, item size, and
consistency. Provide the expected number of read and write operations,
assuming an item size of 1k and strictly consistent reads. For 2k item
size, double the value. For 3k, triple the value, etc.
Eventually-consistent reads consume half the resources of strictly
consistent reads.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