public UpdateStackRequest withUserSettings(java.util.Collection<UserSetting> userSettings) {
        setUserSettings(userSettings);
        return this;
    }
<p>
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are
enabled.
</p>

@param userSettings
       The actions that are enabled or disabled for users during their streaming sessions. By default, these
       actions are enabled.
@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/UpdateStackRequest.java