|
Did this page help you?Yes No Tell us about it... |
||||||
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.UpdateTableRequest
public class UpdateTableRequest
Container for the parameters to the UpdateTable operation
.
Updates the provisioned throughput for the given table. Setting the throughput for a table helps you manage performance and is part of the provisioned throughput feature of Amazon DynamoDB.
The provisioned throughput values can be upgraded or downgraded based on the maximums and minimums listed in the Limits section in the Amazon DynamoDB Developer Guide .
The table must be in the ACTIVE
state for this operation to succeed. UpdateTable is an asynchronous operation; while executing the
operation, the table is in the UPDATING
state. While the table is in the UPDATING
state, the table still has the provisioned
throughput from before the call. The new provisioned throughput setting is in effect only when the table returns to the ACTIVE
state
after the UpdateTable operation.
You cannot add, modify or delete local secondary indexes using UpdateTable . Local secondary indexes can only be defined at table creation time.
AmazonDynamoDB.updateTable(UpdateTableRequest)
,
Serialized FormConstructor Summary | |
---|---|
UpdateTableRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
ProvisionedThroughput |
getProvisionedThroughput()
The provisioned throughput settings for the specified table. |
String |
getTableName()
The name of the table to be updated. |
int |
hashCode()
|
void |
setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
The provisioned throughput settings for the specified table. |
void |
setTableName(String tableName)
The name of the table to be updated. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateTableRequest |
withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
The provisioned throughput settings for the specified table. |
UpdateTableRequest |
withTableName(String tableName)
The name of the table to be updated. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateTableRequest()
Method Detail |
---|
public String getTableName()
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
public void setTableName(String tableName)
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
tableName
- The name of the table to be updated.public UpdateTableRequest withTableName(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 be updated.
public ProvisionedThroughput getProvisionedThroughput()
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
public void setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
provisionedThroughput
- The provisioned throughput settings for the specified table. The
settings can be modified using the UpdateTable operation.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
public UpdateTableRequest withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
Returns a reference to this object so that method calls can be chained together.
provisionedThroughput
- The provisioned throughput settings for the specified table. The
settings can be modified using the UpdateTable operation.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
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 |