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;
    }
<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.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ListResourceDataSyncResult.java