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

@param assetRelationshipSummaries
       A list that summarizes each asset 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/ListAssetRelationshipsResult.java