public ListPermissionsResult withPermissions(java.util.Collection<PermissionEntry> permissions) {
        setPermissions(permissions);
        return this;
    }
<p>
The permissions returned by the operation.
</p>

@param permissions
       The permissions returned by the operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/ListPermissionsResult.java