Interface WarmPoolConfiguration.Builder

    • Method Detail

      • maxGroupPreparedCapacity

        WarmPoolConfiguration.Builder maxGroupPreparedCapacity​(Integer maxGroupPreparedCapacity)

        The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.

        Parameters:
        maxGroupPreparedCapacity - The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minSize

        WarmPoolConfiguration.Builder minSize​(Integer minSize)

        The minimum number of instances to maintain in the warm pool.

        Parameters:
        minSize - The minimum number of instances to maintain in the warm pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • poolState

        WarmPoolConfiguration.Builder poolState​(String poolState)

        The instance state to transition to after the lifecycle actions are complete.

        Parameters:
        poolState - The instance state to transition to after the lifecycle actions are complete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WarmPoolState, WarmPoolState
      • poolState

        WarmPoolConfiguration.Builder poolState​(WarmPoolState poolState)

        The instance state to transition to after the lifecycle actions are complete.

        Parameters:
        poolState - The instance state to transition to after the lifecycle actions are complete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WarmPoolState, WarmPoolState
      • status

        WarmPoolConfiguration.Builder status​(String status)

        The status of a warm pool that is marked for deletion.

        Parameters:
        status - The status of a warm pool that is marked for deletion.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WarmPoolStatus, WarmPoolStatus
      • instanceReusePolicy

        WarmPoolConfiguration.Builder instanceReusePolicy​(InstanceReusePolicy instanceReusePolicy)

        The instance reuse policy.

        Parameters:
        instanceReusePolicy - The instance reuse policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.