public BatchGrantPermissionsRequest withEntries(java.util.Collection<BatchPermissionsRequestEntry> entries) {
        setEntries(entries);
        return this;
    }
<p>
A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
</p>

@param entries
       A list of up to 20 entries for resource permissions to be granted by batch operation to the principal.
@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/BatchGrantPermissionsRequest.java