public AssignedSession withSessionActions(AssignedSessionAction... sessionActions) {
        if (this.sessionActions == null) {
            setSessionActions(new java.util.ArrayList<AssignedSessionAction>(sessionActions.length));
        }
        for (AssignedSessionAction ele : sessionActions) {
            this.sessionActions.add(ele);
        }
        return this;
    }
<p>
The session actions to apply to the assigned session.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSessionActions(java.util.Collection)} or {@link #withSessionActions(java.util.Collection)} if you want
to override the existing values.
</p>

@param sessionActions
       The session actions to apply to the assigned session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-deadline/src/main/java/com/amazonaws/services/deadline/model/AssignedSession.java