public ListSyncResourcesResult withSyncResources(SyncResourceSummary... syncResources) {
        if (this.syncResources == null) {
            setSyncResources(new java.util.ArrayList<SyncResourceSummary>(syncResources.length));
        }
        for (SyncResourceSummary ele : syncResources) {
            this.syncResources.add(ele);
        }
        return this;
    }
<p>
The sync resources.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSyncResources(java.util.Collection)} or {@link #withSyncResources(java.util.Collection)} if you want
to override the existing values.
</p>

@param syncResources
       The sync resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/ListSyncResourcesResult.java