public ListCompositionRelationshipsResult withCompositionRelationshipSummaries(CompositionRelationshipSummary... compositionRelationshipSummaries) {
        if (this.compositionRelationshipSummaries == null) {
            setCompositionRelationshipSummaries(new java.util.ArrayList<CompositionRelationshipSummary>(compositionRelationshipSummaries.length));
        }
        for (CompositionRelationshipSummary ele : compositionRelationshipSummaries) {
            this.compositionRelationshipSummaries.add(ele);
        }
        return this;
    }
<p>
A list that summarizes each composition relationship.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCompositionRelationshipSummaries(java.util.Collection)} or
{@link #withCompositionRelationshipSummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param compositionRelationshipSummaries
       A list that summarizes each composition relationship.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/ListCompositionRelationshipsResult.java