public GetEffectivePermissionsForPathResult withPermissions(java.util.Collection<PrincipalResourcePermissions> permissions) {
        setPermissions(permissions);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/GetEffectivePermissionsForPathResult.java