Constructor and Description |
---|
Builder(java.lang.String name)
Constructor with parameters for the required properties of
Roles . |
Modifier and Type | Method and Description |
---|---|
Roles |
build() |
Roles.Builder |
setDescription(java.lang.String description)
Role description.
|
Roles.Builder |
setId(java.lang.Long id)
Role identifier.
|
Roles.Builder |
setPrivilegeIds(java.util.List<java.lang.String> privilegeIds)
List of Privileges present in the Role.
|
public Builder(java.lang.String name)
Roles
.public Roles.Builder setId(java.lang.Long id)
id
- New value for the property.public Roles.Builder setDescription(java.lang.String description)
description
- New value for the property.public Roles.Builder setPrivilegeIds(java.util.List<java.lang.String> privilegeIds)
privilegeIds
- New value for the property.public Roles build()