public GetUnfilteredTableMetadataResult withPermissions(Permission... permissions) {
        java.util.ArrayList<String> permissionsCopy = new java.util.ArrayList<String>(permissions.length);
        for (Permission value : permissions) {
            permissionsCopy.add(value.toString());
        }
        if (getPermissions() == null) {
            setPermissions(permissionsCopy);
        } else {
            getPermissions().addAll(permissionsCopy);
        }
        return this;
    }
<p>
The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context
is found.
</p>

@param permissions
       The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view
       context is found.
@return Returns a reference to this object so that method calls can be chained together.
@see Permission
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/GetUnfilteredTableMetadataResult.java