Class AddRoleRequest.Builder
Object
Builder
- Enclosing class:
AddRoleRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
but()
Deprecated.This method will be removed in the future.description
(String description) The description of the role.global
(boolean global) Whether the role should be a global or resource role.The ID of the new role.Required. The name of the new role.permissions
(List<Permission> permissions) The permissions to be granted for this role.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useAddRoleRequest.builder()
Clone method for this Builder. -
id
The ID of the new role. Should be unique within all roles.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-
which is a reserved prefix- Returns:
this
.
-
name
Required. The name of the new role. Should be unique within all roles.- Returns:
this
.
-
global
Whether the role should be a global or resource role.- Returns:
this
.
-
description
The description of the role.- Returns:
this
.
-
permissions
The permissions to be granted for this role.- Returns:
this
.
-
build
-
toString
-