Interface RoleAssignment.DefinitionStages.WithRole
-
- All Known Subinterfaces:
RoleAssignment.Definition
- Enclosing interface:
- RoleAssignment.DefinitionStages
public static interface RoleAssignment.DefinitionStages.WithRoleThe stage of role assignment definition allowing specifying the role.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleAssignment.DefinitionStages.WithScopewithBuiltInRole(BuiltInRole role)Specifies the name of a built in role for this assignment.RoleAssignment.DefinitionStages.WithScopewithRoleDefinition(String roleDefinitionId)Specifies the ID of the custom role for this assignment.
-
-
-
Method Detail
-
withBuiltInRole
RoleAssignment.DefinitionStages.WithScope withBuiltInRole(BuiltInRole role)
Specifies the name of a built in role for this assignment.- Parameters:
role- the name of the role- Returns:
- the next stage in role assignment definition
-
withRoleDefinition
RoleAssignment.DefinitionStages.WithScope withRoleDefinition(String roleDefinitionId)
Specifies the ID of the custom role for this assignment.- Parameters:
roleDefinitionId- ID of the custom role definition- Returns:
- the next stage in role assignment definition
-
-