public static interface UpdateTableRequest.Builder extends DynamoDbRequest.Builder, SdkPojo, 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 |
billingMode(BillingMode billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.
|
UpdateTableRequest.Builder |
billingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.
|
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) |
UpdateTableRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
UpdateTableRequest.Builder |
replicaUpdates(Collection<ReplicationGroupUpdate> replicaUpdates)
A list of replica update actions (create, delete, or update) for the table.
|
UpdateTableRequest.Builder |
replicaUpdates(Consumer<ReplicationGroupUpdate.Builder>... replicaUpdates)
A list of replica update actions (create, delete, or update) for the table.
|
UpdateTableRequest.Builder |
replicaUpdates(ReplicationGroupUpdate... replicaUpdates)
A list of replica update actions (create, delete, or update) for the table.
|
default UpdateTableRequest.Builder |
sseSpecification(Consumer<SSESpecification.Builder> sseSpecification)
The new server-side encryption settings for the specified table.
|
UpdateTableRequest.Builder |
sseSpecification(SSESpecification sseSpecification)
The new server-side encryption settings for the specified table.
|
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
equalsBySdkFields, sdkFields
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 billingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes.
PROVISIONED
- We recommend using PROVISIONED
for predictable workloads.
PROVISIONED
sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable workloads.
PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
billingMode
- Controls how you are charged for read and write throughput and how you manage capacity. When switching
from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The
initial provisioned capacity values are estimated based on the consumed read and write capacity of
your table and global secondary indexes over the past 30 minutes.
PROVISIONED
- We recommend using PROVISIONED
for predictable workloads.
PROVISIONED
sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable
workloads. PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
BillingMode
,
BillingMode
UpdateTableRequest.Builder billingMode(BillingMode billingMode)
Controls how you are charged for read and write throughput and how you manage capacity. When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes over the past 30 minutes.
PROVISIONED
- We recommend using PROVISIONED
for predictable workloads.
PROVISIONED
sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable workloads.
PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
billingMode
- Controls how you are charged for read and write throughput and how you manage capacity. When switching
from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The
initial provisioned capacity values are estimated based on the consumed read and write capacity of
your table and global secondary indexes over the past 30 minutes.
PROVISIONED
- We recommend using PROVISIONED
for predictable workloads.
PROVISIONED
sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable
workloads. PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
BillingMode
,
BillingMode
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.
You can create or delete only one global secondary index per UpdateTable
operation.
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.
You can create or delete only one global secondary index per UpdateTable
operation.
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.
You can create or delete only one global secondary index per UpdateTable
operation.
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.
You can create or delete only one global secondary index per UpdateTable
operation.
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.
You can create or delete only one global secondary index per UpdateTable
operation.
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 receive a ResourceInUseException
if you try to enable a stream on a table that already has a
stream, or if you try to disable a stream on a table that doesn't have a stream.
streamSpecification
- Represents the DynamoDB Streams configuration for the table.
You receive a ResourceInUseException
if you try to enable a stream on a table that
already has a stream, or if you try to disable a stream on a table that doesn't have a stream.
default UpdateTableRequest.Builder streamSpecification(Consumer<StreamSpecification.Builder> streamSpecification)
Represents the DynamoDB Streams configuration for the table.
You receive a ResourceInUseException
if you try to enable a stream on a table that already has a
stream, or if you try to disable a stream on a table that doesn't 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 sseSpecification(SSESpecification sseSpecification)
The new server-side encryption settings for the specified table.
sseSpecification
- The new server-side encryption settings for the specified table.default UpdateTableRequest.Builder sseSpecification(Consumer<SSESpecification.Builder> sseSpecification)
The new server-side encryption settings for the specified table.
This is a convenience that creates an instance of theSSESpecification.Builder
avoiding the need to
create one manually via SSESpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sseSpecification(SSESpecification)
.sseSpecification
- a consumer that will call methods on SSESpecification.Builder
sseSpecification(SSESpecification)
UpdateTableRequest.Builder replicaUpdates(Collection<ReplicationGroupUpdate> replicaUpdates)
A list of replica update actions (create, delete, or update) for the table.
This property only applies to Version 2019.11.21 of global tables.
replicaUpdates
- A list of replica update actions (create, delete, or update) for the table. This property only applies to Version 2019.11.21 of global tables.
UpdateTableRequest.Builder replicaUpdates(ReplicationGroupUpdate... replicaUpdates)
A list of replica update actions (create, delete, or update) for the table.
This property only applies to Version 2019.11.21 of global tables.
replicaUpdates
- A list of replica update actions (create, delete, or update) for the table. This property only applies to Version 2019.11.21 of global tables.
UpdateTableRequest.Builder replicaUpdates(Consumer<ReplicationGroupUpdate.Builder>... replicaUpdates)
A list of replica update actions (create, delete, or update) for the table.
This property only applies to Version 2019.11.21 of global tables.
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 #replicaUpdates(List)
.replicaUpdates
- a consumer that will call methods on List.Builder
#replicaUpdates(List)
UpdateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
UpdateTableRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.