public Document withAccessControlList(java.util.Collection<Principal> accessControlList) {
        setAccessControlList(accessControlList);
        return this;
    }
<p>
Information on principals (users and/or groups) and which documents they should have access to. This is useful
for user context filtering, where search results are filtered based on the user or their group access to
documents.
</p>

@param accessControlList
       Information on principals (users and/or groups) and which documents they should have access to. This is
       useful for user context filtering, where search results are filtered based on the user or their group
       access to documents.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/Document.java