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

@param compositions
       List of the matching Compositions (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/ListCompositionsResult.java