Class ChangeRoleRequest.Builder
Object
Builder
- Enclosing class:
ChangeRoleRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
but()
Deprecated.This method will be removed in the future.description
(String description) The new description for the role.Required. The ID of the role to be changed.The new name for the role.permissions
(List<Permission> permissions) The new permissions to be set.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useChangeRoleRequest.builder()
Clone method for this Builder. -
id
Required. The ID of the role to be changed.- Returns:
this
.
-
name
The new name for the role. Should be unique within all roles.- Returns:
this
.
-
description
The new description for the role.- Returns:
this
.
-
permissions
The new permissions to be set. If null, no changes are made, otherwise the current permissions are replaced with the given ones.- Returns:
this
.
-
build
-
toString
-