public ResourceDataSyncSource withSourceRegions(java.util.Collection<String> sourceRegions) {
        setSourceRegions(sourceRegions);
        return this;
    }
<p>
The <code>SyncSource</code> Amazon Web Services Regions included in the resource data sync.
</p>

@param sourceRegions
       The <code>SyncSource</code> Amazon Web Services Regions included in the resource data sync.
@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/ResourceDataSyncSource.java