Class ScalingConfigurationInfo

    • Method Detail

      • minCapacity

        public final Integer minCapacity()

        The minimum capacity for an Aurora DB cluster in serverless DB engine mode.

        Returns:
        The minimum capacity for an Aurora DB cluster in serverless DB engine mode.
      • maxCapacity

        public final Integer maxCapacity()

        The maximum capacity for an Aurora DB cluster in serverless DB engine mode.

        Returns:
        The maximum capacity for an Aurora DB cluster in serverless DB engine mode.
      • autoPause

        public final Boolean autoPause()

        Indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB engine mode.

        When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.

        Returns:
        Indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB engine mode.

        When the value is set to false for an Aurora Serverless v1 DB cluster, the DB cluster automatically resumes.

      • secondsUntilAutoPause

        public final Integer secondsUntilAutoPause()

        The remaining amount of time, in seconds, before the Aurora DB cluster in serverless mode is paused. A DB cluster can be paused only when it's idle (it has no connections).

        Returns:
        The remaining amount of time, in seconds, before the Aurora DB cluster in serverless mode is paused. A DB cluster can be paused only when it's idle (it has no connections).
      • timeoutAction

        public final String timeoutAction()

        The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is 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:
        The action that occurs when Aurora times out while attempting to change the capacity of an Aurora Serverless v1 cluster. The value is 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.

      • secondsBeforeTimeout

        public final Integer secondsBeforeTimeout()

        The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the TimeoutAction setting.

        Returns:
        The number of seconds before scaling times out. What happens when an attempted scaling action times out is determined by the TimeoutAction setting.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)