Interface EC2InstanceCounts.Builder

    • Method Detail

      • desired

        EC2InstanceCounts.Builder desired​(Integer desired)

        Requested number of active instances. Amazon GameLift 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 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

        EC2InstanceCounts.Builder minimum​(Integer 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

        EC2InstanceCounts.Builder maximum​(Integer 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

        EC2InstanceCounts.Builder pending​(Integer 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

        EC2InstanceCounts.Builder active​(Integer 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

        EC2InstanceCounts.Builder idle​(Integer 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.