Interface CapacitySpecificationSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>, SdkBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>, SdkPojo
Enclosing class:
CapacitySpecificationSummary

public static interface CapacitySpecificationSummary.Builder extends SdkPojo, CopyableBuilder<CapacitySpecificationSummary.Builder,CapacitySpecificationSummary>
  • Method Details

    • throughputMode

      CapacitySpecificationSummary.Builder throughputMode(String throughputMode)

      The read/write throughput capacity mode for a table. The options are:

      • throughputMode:PAY_PER_REQUEST and

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

      Parameters:
      throughputMode - The read/write throughput capacity mode for a table. The options are:

      • throughputMode:PAY_PER_REQUEST and

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

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

      CapacitySpecificationSummary.Builder throughputMode(ThroughputMode throughputMode)

      The read/write throughput capacity mode for a table. The options are:

      • throughputMode:PAY_PER_REQUEST and

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

      Parameters:
      throughputMode - The read/write throughput capacity mode for a table. The options are:

      • throughputMode:PAY_PER_REQUEST and

      • throughputMode:PROVISIONED - Provisioned capacity mode requires readCapacityUnits and writeCapacityUnits as input.

      The default is throughput_mode:PAY_PER_REQUEST.

      For more information, see Read/write capacity modes in the Amazon Keyspaces Developer Guide.

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

      CapacitySpecificationSummary.Builder readCapacityUnits(Long readCapacityUnits)

      The throughput capacity specified for read operations defined in read capacity units (RCUs).

      Parameters:
      readCapacityUnits - The throughput capacity specified for read operations defined in read capacity units (RCUs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • writeCapacityUnits

      CapacitySpecificationSummary.Builder writeCapacityUnits(Long writeCapacityUnits)

      The throughput capacity specified for write operations defined in write capacity units (WCUs).

      Parameters:
      writeCapacityUnits - The throughput capacity specified for write operations defined in write capacity units (WCUs).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdateToPayPerRequestTimestamp

      CapacitySpecificationSummary.Builder lastUpdateToPayPerRequestTimestamp(Instant lastUpdateToPayPerRequestTimestamp)

      The timestamp of the last operation that changed the provisioned throughput capacity of a table.

      Parameters:
      lastUpdateToPayPerRequestTimestamp - The timestamp of the last operation that changed the provisioned throughput capacity of a table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.