public ListStagesResult withStages(StageSummary... stages) {
        if (this.stages == null) {
            setStages(new java.util.ArrayList<StageSummary>(stages.length));
        }
        for (StageSummary ele : stages) {
            this.stages.add(ele);
        }
        return this;
    }
<p>
List of the matching stages (summary information only).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setStages(java.util.Collection)} or {@link #withStages(java.util.Collection)} if you want to override the
existing values.
</p>

@param stages
       List of the matching stages (summary information only).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ivsrealtime/src/main/java/com/amazonaws/services/ivsrealtime/model/ListStagesResult.java