public GetResourceShareInvitationsRequest withResourceShareInvitationArns(String... resourceShareInvitationArns) {
        if (this.resourceShareInvitationArns == null) {
            setResourceShareInvitationArns(new java.util.ArrayList<String>(resourceShareInvitationArns.length));
        }
        for (String ele : resourceShareInvitationArns) {
            this.resourceShareInvitationArns.add(ele);
        }
        return this;
    }
<p>
Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
Resource Names (ARNs)</a> of the resource share invitations you want information about.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResourceShareInvitationArns(java.util.Collection)} or
{@link #withResourceShareInvitationArns(java.util.Collection)} if you want to override the existing values.
</p>

@param resourceShareInvitationArns
       Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon
       Resource Names (ARNs)</a> of the resource share invitations you want information about.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/GetResourceShareInvitationsRequest.java