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

        this.permissions = new java.util.ArrayList<PrincipalResourcePermissions>(permissions);
    }
<p>
A list of the permissions for the specified table or database resource located at the path in Amazon S3.
</p>

@param permissions
       A list of the permissions for the specified table or database resource located at the path in Amazon S3.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/GetEffectivePermissionsForPathResult.java