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.
|
default UpdateTableRequest.Builder |
provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
The new provisioned throughput settings for the specified table or index.
|
UpdateTableRequest.Builder |
provisionedThroughput(ProvisionedThroughput provisionedThroughput)
The new provisioned throughput settings for the specified table or index.
|
default UpdateTableRequest.Builder |
streamSpecification(Consumer<StreamSpecification.Builder> streamSpecification)
Represents the DynamoDB Streams configuration for the table.
|
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.default UpdateTableRequest.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput)
The new provisioned throughput settings for the specified table or index.
This is a convenience that creates an instance of theProvisionedThroughput.Builder
avoiding the need
to create one manually via ProvisionedThroughput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to provisionedThroughput(ProvisionedThroughput)
.provisionedThroughput
- a consumer that will call methods on ProvisionedThroughput.Builder
provisionedThroughput(ProvisionedThroughput)
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.
default UpdateTableRequest.Builder streamSpecification(Consumer<StreamSpecification.Builder> 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.Builder
avoiding
the need to create one manually via StreamSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to streamSpecification(StreamSpecification)
.streamSpecification
- a consumer that will call methods on StreamSpecification.Builder
streamSpecification(StreamSpecification)
Copyright © 2017. All rights reserved.