public final class RoleAssignmentRequest extends Object
Constructor and Description |
---|
RoleAssignmentRequest() |
Modifier and Type | Method and Description |
---|---|
UUID |
getPrincipalId()
Get the principalId property: Object ID of the AAD principal or security-group.
|
String |
getPrincipalType()
Get the principalType property: Type of the principal Id: User, Group or ServicePrincipal.
|
UUID |
getRoleId()
Get the roleId property: Role ID of the Synapse Built-In Role.
|
String |
getScope()
Get the scope property: Scope at which the role assignment is created.
|
RoleAssignmentRequest |
setPrincipalId(UUID principalId)
Set the principalId property: Object ID of the AAD principal or security-group.
|
RoleAssignmentRequest |
setPrincipalType(String principalType)
Set the principalType property: Type of the principal Id: User, Group or ServicePrincipal.
|
RoleAssignmentRequest |
setRoleId(UUID roleId)
Set the roleId property: Role ID of the Synapse Built-In Role.
|
RoleAssignmentRequest |
setScope(String scope)
Set the scope property: Scope at which the role assignment is created.
|
public UUID getRoleId()
public RoleAssignmentRequest setRoleId(UUID roleId)
roleId
- the roleId value to set.public UUID getPrincipalId()
public RoleAssignmentRequest setPrincipalId(UUID principalId)
principalId
- the principalId value to set.public String getScope()
public RoleAssignmentRequest setScope(String scope)
scope
- the scope value to set.public String getPrincipalType()
public RoleAssignmentRequest setPrincipalType(String principalType)
principalType
- the principalType value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.