Interface ComputeCapacity.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>, SdkBuilder<ComputeCapacity.Builder,ComputeCapacity>, SdkPojo
Enclosing class:
ComputeCapacity

public static interface ComputeCapacity.Builder extends SdkPojo, CopyableBuilder<ComputeCapacity.Builder,ComputeCapacity>
  • 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.