RoleAssignment.DefinitionStages.WithRole 接口

定义

The stage of role assignment definition allowing specifying the role.

public interface WithRole

方法

withBuiltInRole(BuiltInRole role)

Specifies the name of a built in role for this assignment.

withRoleDefinition(String roleDefinitionId)

Specifies the ID of the custom role for this assignment.

适用于