docs: public GetResourceShareInvitationsResult withResourceShareInvitations(ResourceShareInvitation... resourceShareInvitations) {
          if (this.resourceShareInvitations == null) {
              setResourceShareInvitations(new java.util.ArrayList<ResourceShareInvitation>(resourceShareInvitations.length));
          }
          for (ResourceShareInvitation ele : resourceShareInvitations) {
              this.resourceShareInvitations.add(ele);
          }
          return this;
      }