public static interface UpdateTableRequest.Builder extends software.amazon.awssdk.utils.builder.CopyableBuilder<UpdateTableRequest.Builder,UpdateTableRequest>
Modifier and Type | Method and Description |
---|---|
UpdateTableRequest.Builder |
attributeDefinitions(AttributeDefinition... attributeDefinitions)
An array of attributes that describe the key schema for the table and indexes.
|
UpdateTableRequest.Builder |
attributeDefinitions(Collection<AttributeDefinition> attributeDefinitions)
An array of attributes that describe the key schema for the table and indexes.
|
UpdateTableRequest.Builder |
globalSecondaryIndexUpdates(Collection<GlobalSecondaryIndexUpdate> globalSecondaryIndexUpdates)
An array of one or more global secondary indexes for the table.
|
UpdateTableRequest.Builder |
globalSecondaryIndexUpdates(GlobalSecondaryIndexUpdate... globalSecondaryIndexUpdates)
An array of one or more global secondary indexes for the table.
|
UpdateTableRequest.Builder |
provisionedThroughput(ProvisionedThroughput provisionedThroughput)
The new provisioned throughput settings for the specified table or index.
|
UpdateTableRequest.Builder |
streamSpecification(StreamSpecification streamSpecification)
Represents the DynamoDB Streams configuration for the table.
|
UpdateTableRequest.Builder |
tableName(String tableName)
The name of the table to be updated.
|
UpdateTableRequest.Builder attributeDefinitions(Collection<AttributeDefinition> 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.
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.UpdateTableRequest.Builder attributeDefinitions(AttributeDefinition... 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.
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.UpdateTableRequest.Builder tableName(String tableName)
The name of the table to be updated.
tableName
- The name of the table to be updated.UpdateTableRequest.Builder provisionedThroughput(ProvisionedThroughput provisionedThroughput)
The new provisioned throughput settings for the specified table or index.
provisionedThroughput
- The new provisioned throughput settings for the specified table or index.UpdateTableRequest.Builder globalSecondaryIndexUpdates(Collection<GlobalSecondaryIndexUpdate> 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.
For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide.
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.
For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide.
UpdateTableRequest.Builder globalSecondaryIndexUpdates(GlobalSecondaryIndexUpdate... 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.
For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide.
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.
For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide.
UpdateTableRequest.Builder streamSpecification(StreamSpecification streamSpecification)
Represents the DynamoDB Streams configuration for the table.
You will receive a ResourceInUseException
if you attempt to enable a stream on a table that
already has a stream, or if you attempt to disable a stream on a table which does not have a stream.
streamSpecification
- Represents the DynamoDB Streams configuration for the table.
You will receive a ResourceInUseException
if you attempt to enable a stream on a table
that already has a stream, or if you attempt to disable a stream on a table which does not have a
stream.
Copyright © 2017. All rights reserved.