Interface ComputeCapacity.Builder

  • Method Details

    • desiredInstances

      ComputeCapacity.Builder desiredInstances(Integer desiredInstances)

      The desired number of streaming instances.

      Parameters:
      desiredInstances - The desired number of streaming instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • desiredSessions

      ComputeCapacity.Builder desiredSessions(Integer desiredSessions)

      The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.

      When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.

      Parameters:
      desiredSessions - The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.

      When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.

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