docs: public DBInstance withOptionGroupMemberships(OptionGroupMembership... optionGroupMemberships) {
          if (this.optionGroupMemberships == null) {
              setOptionGroupMemberships(new com.amazonaws.internal.SdkInternalList<OptionGroupMembership>(optionGroupMemberships.length));
          }
          for (OptionGroupMembership ele : optionGroupMemberships) {
              this.optionGroupMemberships.add(ele);
          }
          return this;
      }