Interface CapacitySpecification.Builder

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

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

    • throughputMode

      CapacitySpecification.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

      CapacitySpecification.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

      CapacitySpecification.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

      CapacitySpecification.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.