public class UpdateTableRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateTable operation.
 Updates the provisioned throughput for the given table, or manages the global secondary indexes on the table.
You can increase or decrease the table's provisioned throughput values within the maximums and minimums listed in the Limits section in the Amazon DynamoDB Developer Guide .
In addition, you can use UpdateTable to add, modify or delete global secondary indexes on the table. For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide .
 The table must be in the ACTIVE state for
 UpdateTable 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 table's new provisioned
 throughput settings go into effect when the table returns to the
 ACTIVE state; at that point, the UpdateTable
 operation is complete.
 
NOOP| Constructor and Description | 
|---|
| UpdateTableRequest()Default constructor for a new UpdateTableRequest object. | 
| UpdateTableRequest(String tableName,
                  ProvisionedThroughput provisionedThroughput)Constructs a new UpdateTableRequest object. | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateTableRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| List<AttributeDefinition> | getAttributeDefinitions()An array of attributes that describe the key schema for the table and
 indexes. | 
| List<GlobalSecondaryIndexUpdate> | getGlobalSecondaryIndexUpdates()An array of one or more global secondary indexes for the table. | 
| ProvisionedThroughput | getProvisionedThroughput()Represents the provisioned throughput settings for a specified table
 or index. | 
| String | getTableName()The name of the table to be updated. | 
| int | hashCode() | 
| void | setAttributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)An array of attributes that describe the key schema for the table and
 indexes. | 
| void | setGlobalSecondaryIndexUpdates(Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates)An array of one or more global secondary indexes for the table. | 
| void | setProvisionedThroughput(ProvisionedThroughput provisionedThroughput)Represents the provisioned throughput settings for a specified table
 or index. | 
| 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 | withAttributeDefinitions(AttributeDefinition... attributeDefinitions)An array of attributes that describe the key schema for the table and
 indexes. | 
| UpdateTableRequest | withAttributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)An array of attributes that describe the key schema for the table and
 indexes. | 
| UpdateTableRequest | withGlobalSecondaryIndexUpdates(Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates)An array of one or more global secondary indexes for the table. | 
| UpdateTableRequest | withGlobalSecondaryIndexUpdates(GlobalSecondaryIndexUpdate... globalSecondaryIndexUpdates)An array of one or more global secondary indexes for the table. | 
| UpdateTableRequest | withProvisionedThroughput(ProvisionedThroughput provisionedThroughput)Represents the provisioned throughput settings for a specified table
 or index. | 
| UpdateTableRequest | withTableName(String tableName)The name of the table to be updated. | 
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic UpdateTableRequest()
public UpdateTableRequest(String tableName, ProvisionedThroughput provisionedThroughput)
tableName - The name of the table to be updated.provisionedThroughput - Represents the provisioned throughput
 settings for a specified table or index. 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 List<AttributeDefinition> getAttributeDefinitions()
public void setAttributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)
attributeDefinitions - An array of attributes that describe the key schema for the table and
         indexes. If you are adding a new global secondary index to the table,
         AttributeDefinitions must include the key element(s) of the new
         index.public UpdateTableRequest withAttributeDefinitions(AttributeDefinition... attributeDefinitions)
 NOTE: This method appends the values to the existing list (if
 any). Use setAttributeDefinitions(java.util.Collection) or
 withAttributeDefinitions(java.util.Collection) if you want to
 override the existing values.
 
Returns a reference to this object so that method calls can be chained together.
attributeDefinitions - An array of attributes that describe the key schema for the table and
         indexes. If you are adding a new global secondary index to the table,
         AttributeDefinitions must include the key element(s) of the new
         index.public UpdateTableRequest withAttributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)
Returns a reference to this object so that method calls can be chained together.
attributeDefinitions - An array of attributes that describe the key schema for the table and
         indexes. If you are adding a new global secondary index to the table,
         AttributeDefinitions must include the key element(s) of the new
         index.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 - Represents the provisioned throughput settings for a specified table
         or index. 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 - Represents the provisioned throughput settings for a specified table
         or index. 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 List<GlobalSecondaryIndexUpdate> getGlobalSecondaryIndexUpdates()
Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
public void setGlobalSecondaryIndexUpdates(Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates)
Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
globalSecondaryIndexUpdates - An array of one or more global secondary indexes for the table. For
         each index in the array, you can request one action: Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
public UpdateTableRequest withGlobalSecondaryIndexUpdates(GlobalSecondaryIndexUpdate... globalSecondaryIndexUpdates)
Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
 NOTE: This method appends the values to the existing list (if
 any). Use setGlobalSecondaryIndexUpdates(java.util.Collection) or withGlobalSecondaryIndexUpdates(java.util.Collection) if you want to
 override the existing values.
 
Returns a reference to this object so that method calls can be chained together.
globalSecondaryIndexUpdates - An array of one or more global secondary indexes for the table. For
         each index in the array, you can request one action: Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
public UpdateTableRequest withGlobalSecondaryIndexUpdates(Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates)
Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
Returns a reference to this object so that method calls can be chained together.
globalSecondaryIndexUpdates - An array of one or more global secondary indexes for the table. For
         each index in the array, you can request one action: Create - add a new global secondary index to the table.
Update - modify the provisioned throughput settings of an existing global secondary index.
Delete - remove a global secondary index from the table.
public String toString()
toString in class ObjectObject.toString()public UpdateTableRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.