code: 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;
      }
docs: <p>
  The Amazon Resource Names (ARN) of the invitations.
  </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
  The Amazon Resource Names (ARN) of the invitations.
  @return Returns a reference to this object so that method calls can be chained together.