public DatasetSummary withActions(DatasetActionSummary... actions) {
        if (this.actions == null) {
            setActions(new java.util.ArrayList<DatasetActionSummary>(actions.length));
        }
        for (DatasetActionSummary ele : actions) {
            this.actions.add(ele);
        }
        return this;
    }
<p>
A list of <code>DataActionSummary</code> objects.
</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 <code>DataActionSummary</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/DatasetSummary.java