Interface NotScaledReason.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NotScaledReason.Builder,NotScaledReason>, SdkBuilder<NotScaledReason.Builder,NotScaledReason>, SdkPojo
Enclosing class:
NotScaledReason

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

    • code

      A code that represents the reason for not scaling.

      Valid values:

      • AutoScalingAnticipatedFlapping

      • TargetServicePutResourceAsUnscalable

      • AlreadyAtMaxCapacity

      • AlreadyAtMinCapacity

      • AlreadyAtDesiredCapacity

      Parameters:
      code - A code that represents the reason for not scaling.

      Valid values:

      • AutoScalingAnticipatedFlapping

      • TargetServicePutResourceAsUnscalable

      • AlreadyAtMaxCapacity

      • AlreadyAtMinCapacity

      • AlreadyAtDesiredCapacity

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

      NotScaledReason.Builder maxCapacity(Integer maxCapacity)

      The maximum capacity.

      Parameters:
      maxCapacity - The maximum capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minCapacity

      NotScaledReason.Builder minCapacity(Integer minCapacity)

      The minimum capacity.

      Parameters:
      minCapacity - The minimum capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentCapacity

      NotScaledReason.Builder currentCapacity(Integer currentCapacity)

      The current capacity.

      Parameters:
      currentCapacity - The current capacity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.