Class RoleAssignmentDetails
java.lang.Object
com.azure.analytics.synapse.accesscontrol.models.RoleAssignmentDetails
Role Assignment response details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Get the id property: Role Assignment ID.Get the principalId property: Object ID of the AAD principal or security-group.Get the principalType property: Type of the principal Id: User, Group or ServicePrincipal.Get the roleDefinitionId property: Role ID of the Synapse Built-In Role.getScope()
Get the scope property: Scope at the role assignment is created.Set the id property: Role Assignment ID.setPrincipalId
(UUID principalId) Set the principalId property: Object ID of the AAD principal or security-group.setPrincipalType
(String principalType) Set the principalType property: Type of the principal Id: User, Group or ServicePrincipal.setRoleDefinitionId
(UUID roleDefinitionId) Set the roleDefinitionId property: Role ID of the Synapse Built-In Role.Set the scope property: Scope at the role assignment is created.
-
Constructor Details
-
RoleAssignmentDetails
public RoleAssignmentDetails()
-
-
Method Details
-
getId
Get the id property: Role Assignment ID.- Returns:
- the id value.
-
setId
Set the id property: Role Assignment ID.- Parameters:
id
- the id value to set.- Returns:
- the RoleAssignmentDetails object itself.
-
getRoleDefinitionId
Get the roleDefinitionId property: Role ID of the Synapse Built-In Role.- Returns:
- the roleDefinitionId value.
-
setRoleDefinitionId
Set the roleDefinitionId property: Role ID of the Synapse Built-In Role.- Parameters:
roleDefinitionId
- the roleDefinitionId value to set.- Returns:
- the RoleAssignmentDetails object itself.
-
getPrincipalId
Get the principalId property: Object ID of the AAD principal or security-group.- Returns:
- the principalId value.
-
setPrincipalId
Set the principalId property: Object ID of the AAD principal or security-group.- Parameters:
principalId
- the principalId value to set.- Returns:
- the RoleAssignmentDetails object itself.
-
getScope
Get the scope property: Scope at the role assignment is created.- Returns:
- the scope value.
-
setScope
Set the scope property: Scope at the role assignment is created.- Parameters:
scope
- the scope value to set.- Returns:
- the RoleAssignmentDetails object itself.
-
getPrincipalType
Get the principalType property: Type of the principal Id: User, Group or ServicePrincipal.- Returns:
- the principalType value.
-
setPrincipalType
Set the principalType property: Type of the principal Id: User, Group or ServicePrincipal.- Parameters:
principalType
- the principalType value to set.- Returns:
- the RoleAssignmentDetails object itself.
-