public BatchGrantPermissionsResult withFailures(java.util.Collection<BatchPermissionsFailureEntry> failures) {
        setFailures(failures);
        return this;
    }
<p>
A list of failures to grant permissions to the resources.
</p>

@param failures
       A list of failures to grant permissions to the resources.
@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/BatchGrantPermissionsResult.java