code: public ResourceRecordSet withResourceRecords(ResourceRecord... resourceRecords) {
          if (this.resourceRecords == null) {
              setResourceRecords(new com.amazonaws.internal.SdkInternalList<ResourceRecord>(resourceRecords.length));
          }
          for (ResourceRecord ele : resourceRecords) {
              this.resourceRecords.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the resource records to act upon.
  </p>
  <note>
  <p>
  If you're creating an alias resource record set, omit <code>ResourceRecords</code>.
  </p>
  </note>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceRecords(java.util.Collection)} or {@link #withResourceRecords(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param resourceRecords
  Information about the resource records to act upon.</p> <note>
  <p>
  If you're creating an alias resource record set, omit <code>ResourceRecords</code>.
  </p>
  @return Returns a reference to this object so that method calls can be chained together.