public static class RoleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RoleSummary.Builder |
adminOption(RoleSummary.AdminOption adminOption)
Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO).
|
RoleSummary |
build() |
RoleSummary.Builder |
common(RoleSummary.Common common)
Indicates how the role was granted.
|
RoleSummary.Builder |
copy(RoleSummary model) |
RoleSummary.Builder |
defaultRole(RoleSummary.DefaultRole defaultRole)
Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not
(NO).
|
RoleSummary.Builder |
delegateOption(RoleSummary.DelegateOption delegateOption)
Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO).
|
RoleSummary.Builder |
inherited(RoleSummary.Inherited inherited)
Indicates whether the granted role is inherited from another container (YES) or not (NO).
|
RoleSummary.Builder |
name(String name)
The name of the role granted to the user.
|
public RoleSummary.Builder name(String name)
The name of the role granted to the user.
name
- the value to setpublic RoleSummary.Builder adminOption(RoleSummary.AdminOption adminOption)
Indicates whether the role is granted with the ADMIN OPTION (YES) or not (NO).
adminOption
- the value to setpublic RoleSummary.Builder delegateOption(RoleSummary.DelegateOption delegateOption)
Indicates whether the role is granted with the DELEGATE OPTION (YES) or not (NO).
delegateOption
- the value to setpublic RoleSummary.Builder defaultRole(RoleSummary.DefaultRole defaultRole)
Indicates whether the role is designated as a DEFAULT ROLE for the user (YES) or not (NO).
defaultRole
- the value to setpublic RoleSummary.Builder common(RoleSummary.Common common)
Indicates how the role was granted. Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used)
common
- the value to setpublic RoleSummary.Builder inherited(RoleSummary.Inherited inherited)
Indicates whether the granted role is inherited from another container (YES) or not (NO).
inherited
- the value to setpublic RoleSummary build()
public RoleSummary.Builder copy(RoleSummary model)
Copyright © 2016–2024. All rights reserved.