docs: public DBInstance withDomainMemberships(DomainMembership... domainMemberships) {
          if (this.domainMemberships == null) {
              setDomainMemberships(new java.util.ArrayList<DomainMembership>(domainMemberships.length));
          }
          for (DomainMembership ele : domainMemberships) {
              this.domainMemberships.add(ele);
          }
          return this;
      }