public void setPrincipalResourcePermissions(java.util.Collection<PrincipalResourcePermissions> principalResourcePermissions) {
        if (principalResourcePermissions == null) {
            this.principalResourcePermissions = null;
            return;
        }

        this.principalResourcePermissions = new java.util.ArrayList<PrincipalResourcePermissions>(principalResourcePermissions);
    }
<p>
A list of principals and their permissions on the resource for the specified principal and resource types.
</p>

@param principalResourcePermissions
       A list of principals and their permissions on the resource for the specified principal and resource types.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/ListPermissionsResult.java