public PutActionsRequest withActions(Action... actions) {
        if (this.actions == null) {
            setActions(new java.util.ArrayList<Action>(actions.length));
        }
        for (Action ele : actions) {
            this.actions.add(ele);
        }
        return this;
    }
<p>
A list of action data.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setActions(java.util.Collection)} or {@link #withActions(java.util.Collection)} if you want to override
the existing values.
</p>

@param actions
       A list of action data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalizeevents/src/main/java/com/amazonaws/services/personalizeevents/model/PutActionsRequest.java