Interface CapacitySpecificationSummary.Builder

    • Method Detail

      • 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, ThroughputMode
      • 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:
        ThroughputMode, ThroughputMode
      • 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.