alterRole
Alters a Role.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.alterRole
public AlterRoleResponse alterRole(String name, String action, String value, Map<String, String> options) throws GPUdbException Alters a Role.Parameters:name- Name of the role to be altered. Must be an existing role.action- Modification operation to be applied to the role. Supported values:SET_COMMENT: Sets the comment for an internal role.SET_RESOURCE_GROUP: Sets the resource group for an internal role. The resource group must exist, otherwise, an empty string assigns the role to the default resource group.
value- The value of the modification, depending onaction.options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.