public PossibleRemediationAction withOrderedRemediationActions(RemediationActionWithOrder... orderedRemediationActions) {
        if (this.orderedRemediationActions == null) {
            setOrderedRemediationActions(new java.util.ArrayList<RemediationActionWithOrder>(orderedRemediationActions.length));
        }
        for (RemediationActionWithOrder ele : orderedRemediationActions) {
            this.orderedRemediationActions.add(ele);
        }
        return this;
    }
<p>
The ordered list of remediation actions.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOrderedRemediationActions(java.util.Collection)} or
{@link #withOrderedRemediationActions(java.util.Collection)} if you want to override the existing values.
</p>

@param orderedRemediationActions
       The ordered list of remediation actions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fms/src/main/java/com/amazonaws/services/fms/model/PossibleRemediationAction.java