public void setAccessPreviews(java.util.Collection<AccessPreviewSummary> accessPreviews) {
        if (accessPreviews == null) {
            this.accessPreviews = null;
            return;
        }

        this.accessPreviews = new java.util.ArrayList<AccessPreviewSummary>(accessPreviews);
    }
<p>
A list of access previews retrieved for the analyzer.
</p>

@param accessPreviews
       A list of access previews retrieved for the analyzer.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/ListAccessPreviewsResult.java