Interface EC2InstanceCounts.Builder

  • Method Details

    • desired

      Requested number of active instances. Amazon GameLift Servers takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.

      Parameters:
      desired - Requested number of active instances. Amazon GameLift Servers takes action as needed to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances. A change in the desired instances value can take up to 1 minute to be reflected when viewing a fleet's capacity settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minimum

      The minimum instance count value allowed.

      Parameters:
      minimum - The minimum instance count value allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximum

      The maximum instance count value allowed.

      Parameters:
      maximum - The maximum instance count value allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pending

      Number of instances that are starting but not yet active.

      Parameters:
      pending - Number of instances that are starting but not yet active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • active

      Actual number of instances that are ready to host game sessions.

      Parameters:
      active - Actual number of instances that are ready to host game sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • idle

      Number of active instances that are not currently hosting a game session.

      Parameters:
      idle - Number of active instances that are not currently hosting a game session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • terminating

      EC2InstanceCounts.Builder terminating(Integer terminating)

      Number of instances that are no longer active but haven't yet been terminated.

      Parameters:
      terminating - Number of instances that are no longer active but haven't yet been terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.