public ListShareInvitationsResult withShareInvitationSummaries(ShareInvitationSummary... shareInvitationSummaries) {
        if (this.shareInvitationSummaries == null) {
            setShareInvitationSummaries(new java.util.ArrayList<ShareInvitationSummary>(shareInvitationSummaries.length));
        }
        for (ShareInvitationSummary ele : shareInvitationSummaries) {
            this.shareInvitationSummaries.add(ele);
        }
        return this;
    }
<p>
List of share invitation summaries in a workload.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setShareInvitationSummaries(java.util.Collection)} or
{@link #withShareInvitationSummaries(java.util.Collection)} if you want to override the existing values.
</p>

@param shareInvitationSummaries
       List of share invitation summaries in a workload.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/ListShareInvitationsResult.java