Interface AutoScalingSettings.Builder

    • Method Detail

      • autoScalingDisabled

        AutoScalingSettings.Builder autoScalingDisabled​(Boolean autoScalingDisabled)

        This optional parameter enables auto scaling for the table if set to false.

        Parameters:
        autoScalingDisabled - This optional parameter enables auto scaling for the table if set to false.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minimumUnits

        AutoScalingSettings.Builder minimumUnits​(Long minimumUnits)

        The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).

        Parameters:
        minimumUnits - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumUnits

        AutoScalingSettings.Builder maximumUnits​(Long maximumUnits)

        Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).

        Parameters:
        maximumUnits - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scalingPolicy

        AutoScalingSettings.Builder scalingPolicy​(AutoScalingPolicy scalingPolicy)

        Amazon Keyspaces supports the target tracking auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.

        Parameters:
        scalingPolicy - Amazon Keyspaces supports the target tracking auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
        Returns:
        Returns a reference to this object so that method calls can be chained together.