Interface ModifyCurrentDbClusterCapacityRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>, RdsRequest.Builder, SdkBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ModifyCurrentDbClusterCapacityRequest

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

    • dbClusterIdentifier

      ModifyCurrentDbClusterCapacityRequest.Builder dbClusterIdentifier(String dbClusterIdentifier)

      The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

      Constraints:

      • Must match the identifier of an existing DB cluster.

      Parameters:
      dbClusterIdentifier - The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

      Constraints:

      • Must match the identifier of an existing DB cluster.

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

      The DB cluster capacity.

      When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes.

      Constraints:

      • For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256.

      • For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384.

      Parameters:
      capacity - The DB cluster capacity.

      When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes.

      Constraints:

      • For Aurora MySQL, valid capacity values are 1, 2, 4, 8, 16, 32, 64, 128, and 256.

      • For Aurora PostgreSQL, valid capacity values are 2, 4, 8, 16, 32, 64, 192, and 384.

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

      ModifyCurrentDbClusterCapacityRequest.Builder secondsBeforeTimeout(Integer secondsBeforeTimeout)

      The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.

      Specify a value between 10 and 600 seconds.

      Parameters:
      secondsBeforeTimeout - The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.

      Specify a value between 10 and 600 seconds.

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

      The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange.

      ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.

      RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout period.

      Parameters:
      timeoutAction - The action to take when the timeout is reached, either ForceApplyCapacityChange or RollbackCapacityChange.

      ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.

      RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout period.

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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.