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 Details

    • 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

      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

      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 the KeySchemaElement.Builder avoiding the need to create one manually via KeySchemaElement.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keySchema(List<KeySchemaElement>).

      Parameters:
      keySchema - a consumer that will call methods on KeySchemaElement.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the ProvisionedThroughput.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).

      Parameters:
      provisionedThroughput - a consumer that will call methods on ProvisionedThroughput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the OnDemandThroughput.Builder avoiding the need to create one manually via OnDemandThroughput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to onDemandThroughput(OnDemandThroughput).

      Parameters:
      onDemandThroughput - a consumer that will call methods on OnDemandThroughput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

      • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_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 to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

      • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

      • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_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 to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

      • PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: