public ListAccessPreviewsResult withAccessPreviews(java.util.Collection<AccessPreviewSummary> accessPreviews) {
        setAccessPreviews(accessPreviews);
        return this;
    }
<p>
A list of access previews retrieved for the analyzer.
</p>

@param accessPreviews
       A list of access previews retrieved for the analyzer.
@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/ListAccessPreviewsResult.java