public void setSources(java.util.Collection<LogSourceResource> sources) {
        if (sources == null) {
            this.sources = null;
            return;
        }

        this.sources = new java.util.ArrayList<LogSourceResource>(sources);
    }
<p>
Specify the sources from which you want to collect logs.
</p>

@param sources
       Specify the sources from which you want to collect logs.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/LogSource.java