Interface ServerlessV2ScalingConfiguration.Builder

  • Method Details

    • minCapacity

      The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.

      Parameters:
      minCapacity - The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0. For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCapacity

      The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.

      Parameters:
      maxCapacity - The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value that you can use is 256 for recent Aurora versions, or 128 for older versions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • secondsUntilAutoPause

      ServerlessV2ScalingConfiguration.Builder secondsUntilAutoPause(Integer secondsUntilAutoPause)

      Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.

      Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.

      Parameters:
      secondsUntilAutoPause - Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before Aurora attempts to automatically pause it.

      Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.

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