public DataLakeAutoEnableNewAccountConfiguration withSources(java.util.Collection<AwsLogSourceResource> sources) {
        setSources(sources);
        return this;
    }
<p>
The Amazon Web Services sources that are automatically enabled in Security Lake.
</p>

@param sources
       The Amazon Web Services sources that are automatically enabled in Security Lake.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/DataLakeAutoEnableNewAccountConfiguration.java