Interface SourceTableDetails.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceTableDetails.Builder,SourceTableDetails>
,SdkBuilder<SourceTableDetails.Builder,SourceTableDetails>
,SdkPojo
- Enclosing class:
- SourceTableDetails
public static interface SourceTableDetails.Builder extends SdkPojo, CopyableBuilder<SourceTableDetails.Builder,SourceTableDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SourceTableDetails.Builder
billingMode(String billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.SourceTableDetails.Builder
billingMode(BillingMode billingMode)
Controls how you are charged for read and write throughput and how you manage capacity.SourceTableDetails.Builder
itemCount(Long itemCount)
Number of items in the table.SourceTableDetails.Builder
keySchema(Collection<KeySchemaElement> keySchema)
Schema of the table.SourceTableDetails.Builder
keySchema(Consumer<KeySchemaElement.Builder>... keySchema)
Schema of the table.SourceTableDetails.Builder
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.SourceTableDetails.Builder
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.SourceTableDetails.Builder
provisionedThroughput(ProvisionedThroughput provisionedThroughput)
Read IOPs and Write IOPS on the table when the backup was created.SourceTableDetails.Builder
tableArn(String tableArn)
ARN of the table for which backup was created.SourceTableDetails.Builder
tableCreationDateTime(Instant tableCreationDateTime)
Time when the source table was created.SourceTableDetails.Builder
tableId(String tableId)
Unique identifier for the table for which the backup was created.SourceTableDetails.Builder
tableName(String tableName)
The name of the table for which the backup was created.SourceTableDetails.Builder
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 Detail
-
tableName
SourceTableDetails.Builder tableName(String 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
SourceTableDetails.Builder tableId(String 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
SourceTableDetails.Builder tableArn(String 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
SourceTableDetails.Builder tableSizeBytes(Long 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
SourceTableDetails.Builder keySchema(Collection<KeySchemaElement> 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
SourceTableDetails.Builder keySchema(KeySchemaElement... 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
SourceTableDetails.Builder keySchema(Consumer<KeySchemaElement.Builder>... 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 to#keySchema(List
.) - 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:
#keySchema(java.util.Collection
)
-
tableCreationDateTime
SourceTableDetails.Builder tableCreationDateTime(Instant 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
SourceTableDetails.Builder provisionedThroughput(ProvisionedThroughput 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:
provisionedThroughput(ProvisionedThroughput)
-
onDemandThroughput
SourceTableDetails.Builder onDemandThroughput(OnDemandThroughput 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:
onDemandThroughput(OnDemandThroughput)
-
itemCount
SourceTableDetails.Builder itemCount(Long 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
SourceTableDetails.Builder billingMode(String 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
,BillingMode
-
-
billingMode
SourceTableDetails.Builder billingMode(BillingMode 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
,BillingMode
-
-
-