Interface NotScaledReason.Builder

    • Method Detail

      • code

        NotScaledReason.Builder code​(String 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.