public DescribeUpdateActionsResult withUpdateActions(UpdateAction... updateActions) {
        if (this.updateActions == null) {
            setUpdateActions(new com.amazonaws.internal.SdkInternalList<UpdateAction>(updateActions.length));
        }
        for (UpdateAction ele : updateActions) {
            this.updateActions.add(ele);
        }
        return this;
    }
<p>
Returns a list of update actions
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setUpdateActions(java.util.Collection)} or {@link #withUpdateActions(java.util.Collection)} if you want
to override the existing values.
</p>

@param updateActions
       Returns a list of update actions
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/DescribeUpdateActionsResult.java