public static interface UpdateTableRequest.Builder extends DynamoDbRequest.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 |
attributeDefinitions(Consumer<AttributeDefinition.Builder>... 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(Consumer<GlobalSecondaryIndexUpdate.Builder>... 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateTableRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
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 attributeDefinitions(Consumer<AttributeDefinition.Builder>... 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.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #attributeDefinitions(List)
.attributeDefinitions
- a consumer that will call methods on List.Builder
#attributeDefinitions(List)
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 globalSecondaryIndexUpdates(Consumer<GlobalSecondaryIndexUpdate.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #globalSecondaryIndexUpdates(List)
.globalSecondaryIndexUpdates
- a consumer that will call methods on List.Builder
#globalSecondaryIndexUpdates(List)
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)
UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.