code: public ListResourceDataSyncResult withResourceDataSyncItems(ResourceDataSyncItem... resourceDataSyncItems) {
          if (this.resourceDataSyncItems == null) {
              setResourceDataSyncItems(new com.amazonaws.internal.SdkInternalList<ResourceDataSyncItem>(resourceDataSyncItems.length));
          }
          for (ResourceDataSyncItem ele : resourceDataSyncItems) {
              this.resourceDataSyncItems.add(ele);
          }
          return this;
      }
docs: <p>
  A list of your current Resource Data Sync configurations and their statuses.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setResourceDataSyncItems(java.util.Collection)} or
  {@link #withResourceDataSyncItems(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param resourceDataSyncItems
  A list of your current Resource Data Sync configurations and their statuses.
  @return Returns a reference to this object so that method calls can be chained together.