public ListTestGridSessionActionsResult withActions(java.util.Collection<TestGridSessionAction> actions) {
        setActions(actions);
        return this;
    }
<p>
The action taken by the session.
</p>

@param actions
       The action taken by the session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-devicefarm/src/main/java/com/amazonaws/services/devicefarm/model/ListTestGridSessionActionsResult.java