Interface SourceTableDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceTableDetails.Builder,
,SourceTableDetails> SdkBuilder<SourceTableDetails.Builder,
,SourceTableDetails> SdkPojo
- Enclosing class:
SourceTableDetails
-
Method Summary
Modifier and TypeMethodDescriptionbillingMode
(String billingMode) Controls how you are charged for read and write throughput and how you manage capacity.billingMode
(BillingMode billingMode) Controls how you are charged for read and write throughput and how you manage capacity.Number of items in the table.keySchema
(Collection<KeySchemaElement> keySchema) Schema of the table.keySchema
(Consumer<KeySchemaElement.Builder>... keySchema) Schema of the table.keySchema
(KeySchemaElement... keySchema) Schema of the table.default SourceTableDetails.Builder
onDemandThroughput
(Consumer<OnDemandThroughput.Builder> onDemandThroughput) Sets the value of the OnDemandThroughput property for this object.onDemandThroughput
(OnDemandThroughput onDemandThroughput) Sets the value of the OnDemandThroughput property for this object.default SourceTableDetails.Builder
provisionedThroughput
(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) Read IOPs and Write IOPS on the table when the backup was created.provisionedThroughput
(ProvisionedThroughput provisionedThroughput) Read IOPs and Write IOPS on the table when the backup was created.ARN of the table for which backup was created.tableCreationDateTime
(Instant tableCreationDateTime) Time when the source table was created.Unique identifier for the table for which the backup was created.The name of the table for which the backup was created.tableSizeBytes
(Long tableSizeBytes) Size of the table in bytes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tableName
The name of the table for which the backup was created.
- Parameters:
tableName
- The name of the table for which the backup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableId
Unique identifier for the table for which the backup was created.
- Parameters:
tableId
- Unique identifier for the table for which the backup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableArn
ARN of the table for which backup was created.
- Parameters:
tableArn
- ARN of the table for which backup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableSizeBytes
Size of the table in bytes. Note that this is an approximate value.
- Parameters:
tableSizeBytes
- Size of the table in bytes. Note that this is an approximate value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
Schema of the table.
- Parameters:
keySchema
- Schema of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
Schema of the table.
- Parameters:
keySchema
- Schema of the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
Schema of the table.
This is a convenience method that creates an instance of theKeySchemaElement.Builder
avoiding the need to create one manually viaKeySchemaElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeySchema(List<KeySchemaElement>)
.- Parameters:
keySchema
- a consumer that will call methods onKeySchemaElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tableCreationDateTime
Time when the source table was created.
- Parameters:
tableCreationDateTime
- Time when the source table was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
Read IOPs and Write IOPS on the table when the backup was created.
- Parameters:
provisionedThroughput
- Read IOPs and Write IOPS on the table when the backup was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
default SourceTableDetails.Builder provisionedThroughput(Consumer<ProvisionedThroughput.Builder> provisionedThroughput) Read IOPs and Write IOPS on the table when the backup was created.
This is a convenience method that creates an instance of theProvisionedThroughput.Builder
avoiding the need to create one manually viaProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughput(ProvisionedThroughput)
.- Parameters:
provisionedThroughput
- a consumer that will call methods onProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onDemandThroughput
Sets the value of the OnDemandThroughput property for this object.- Parameters:
onDemandThroughput
- The new value for the OnDemandThroughput property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDemandThroughput
default SourceTableDetails.Builder onDemandThroughput(Consumer<OnDemandThroughput.Builder> onDemandThroughput) Sets the value of the OnDemandThroughput property for this object. This is a convenience method that creates an instance of theOnDemandThroughput.Builder
avoiding the need to create one manually viaOnDemandThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonDemandThroughput(OnDemandThroughput)
.- Parameters:
onDemandThroughput
- a consumer that will call methods onOnDemandThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
itemCount
Number of items in the table. Note that this is an approximate value.
- Parameters:
itemCount
- Number of items in the table. Note that this is an approximate value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingMode
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
- Parameters:
billingMode
- Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
billingMode
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
- Parameters:
billingMode
- Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-