RoleAssignmentRequest Class
- java.
lang. Object - com.
azure. analytics. synapse. accesscontrol. models. RoleAssignmentRequest
- com.
public final class RoleAssignmentRequest
Role Assignment request details.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| RoleAssignmentRequest() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| UUID |
getPrincipalId()
Get the principal |
| String |
getPrincipalType()
Get the principal |
| UUID |
getRoleId()
Get the role |
| String |
getScope()
Get the scope property: Scope at which the role assignment is created. |
|
Role |
setPrincipalId(UUID principalId)
Set the principal |
|
Role |
setPrincipalType(String principalType)
Set the principal |
|
Role |
setRoleId(UUID roleId)
Set the role |
|
Role |
setScope(String scope)
Set the scope property: Scope at which the role assignment is created. |
Methods inherited from java.lang.Object
Constructor Details
RoleAssignmentRequest
public RoleAssignmentRequest()
Method Details
getPrincipalId
public UUID getPrincipalId()
Get the principalId property: Object ID of the AAD principal or security-group.
Returns:
getPrincipalType
public String getPrincipalType()
Get the principalType property: Type of the principal Id: User, Group or ServicePrincipal.
Returns:
getRoleId
public UUID getRoleId()
Get the roleId property: Role ID of the Synapse Built-In Role.
Returns:
getScope
public String getScope()
Get the scope property: Scope at which the role assignment is created.
Returns:
setPrincipalId
public RoleAssignmentRequest setPrincipalId(UUID principalId)
Set the principalId property: Object ID of the AAD principal or security-group.
Parameters:
Returns:
setPrincipalType
public RoleAssignmentRequest setPrincipalType(String principalType)
Set the principalType property: Type of the principal Id: User, Group or ServicePrincipal.
Parameters:
Returns:
setRoleId
public RoleAssignmentRequest setRoleId(UUID roleId)
Set the roleId property: Role ID of the Synapse Built-In Role.
Parameters:
Returns:
setScope
public RoleAssignmentRequest setScope(String scope)
Set the scope property: Scope at which the role assignment is created.
Parameters:
Returns: