public UpgradeHistory withStepsList(UpgradeStepItem... stepsList) {
        if (this.stepsList == null) {
            setStepsList(new java.util.ArrayList<UpgradeStepItem>(stepsList.length));
        }
        for (UpgradeStepItem ele : stepsList) {
            this.stepsList.add(ele);
        }
        return this;
    }
<p>
A list of each step performed as part of a specific upgrade or upgrade eligibility check.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStepsList(java.util.Collection)} or {@link #withStepsList(java.util.Collection)} if you want to
override the existing values.
</p>

@param stepsList
       A list of each step performed as part of a specific upgrade or upgrade eligibility check.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/UpgradeHistory.java