public UpdateFleetRequest withMaxSessionsPerInstance(Integer maxSessionsPerInstance) {
        setMaxSessionsPerInstance(maxSessionsPerInstance);
        return this;
    }
<p>
The maximum number of user sessions on an instance. This only applies to multi-session fleets.
</p>

@param maxSessionsPerInstance
       The maximum number of user sessions on an instance. This only applies to multi-session fleets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/UpdateFleetRequest.java