public AccessPreviewFinding withSources(java.util.Collection<FindingSource> sources) {
        setSources(sources);
        return this;
    }
<p>
The sources of the finding. This indicates how the access that generated the finding is granted. It is populated
for Amazon S3 bucket findings.
</p>

@param sources
       The sources of the finding. This indicates how the access that generated the finding is granted. It is
       populated for Amazon S3 bucket findings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/AccessPreviewFinding.java