public static class GrantSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GrantSummary |
build() |
GrantSummary.Builder |
copy(GrantSummary model) |
GrantSummary.Builder |
depthLevel(Integer depthLevel)
The grant depth level of the indirect grant.
|
GrantSummary.Builder |
grantName(String grantName)
The name of a user grant.
|
GrantSummary.Builder |
key(String key)
The unique key of a user grant.
|
GrantSummary.Builder |
privilegeCategory(GrantSummary.PrivilegeCategory privilegeCategory)
The privilege category.
|
GrantSummary.Builder |
privilegeType(GrantSummary.PrivilegeType privilegeType)
The type of a user grant.
|
public GrantSummary.Builder key(String key)
The unique key of a user grant.
key
- the value to setpublic GrantSummary.Builder grantName(String grantName)
The name of a user grant.
grantName
- the value to setpublic GrantSummary.Builder privilegeType(GrantSummary.PrivilegeType privilegeType)
The type of a user grant.
privilegeType
- the value to setpublic GrantSummary.Builder privilegeCategory(GrantSummary.PrivilegeCategory privilegeCategory)
The privilege category.
privilegeCategory
- the value to setpublic GrantSummary.Builder depthLevel(Integer depthLevel)
The grant depth level of the indirect grant. An indirectly granted role/privilege is granted to the user through another role. The depth level indicates how deep a privilege is within the grant hierarchy.
depthLevel
- the value to setpublic GrantSummary build()
public GrantSummary.Builder copy(GrantSummary model)
Copyright © 2016–2024. All rights reserved.