RoleAssignmentDetails Class
- java.
lang. Object - com.
azure. analytics. synapse. accesscontrol. models. RoleAssignmentDetails
- com.
public final class RoleAssignmentDetails
Role Assignment response details.
Constructor Summary
Constructor | Description | |
---|---|---|
RoleAssignmentDetails() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get the id property: Role Assignment ID. |
UUID |
getPrincipalId()
Get the principal |
String |
getPrincipalType()
Get the principal |
UUID |
getRoleDefinitionId()
Get the role |
String |
getScope()
Get the scope property: Scope at the role assignment is created. |
Role |
setId(String id)
Set the id property: Role Assignment ID. |
Role |
setPrincipalId(UUID principalId)
Set the principal |
Role |
setPrincipalType(String principalType)
Set the principal |
Role |
setRoleDefinitionId(UUID roleDefinitionId)
Set the role |
Role |
setScope(String scope)
Set the scope property: Scope at the role assignment is created. |
Methods inherited from java.lang.Object
Constructor Details
RoleAssignmentDetails
public RoleAssignmentDetails()
Method Details
getId
public String getId()
Get the id property: Role Assignment ID.
Returns:
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:
getRoleDefinitionId
public UUID getRoleDefinitionId()
Get the roleDefinitionId property: Role ID of the Synapse Built-In Role.
Returns:
getScope
public String getScope()
Get the scope property: Scope at the role assignment is created.
Returns:
setId
public RoleAssignmentDetails setId(String id)
Set the id property: Role Assignment ID.
Parameters:
Returns:
setPrincipalId
public RoleAssignmentDetails setPrincipalId(UUID principalId)
Set the principalId property: Object ID of the AAD principal or security-group.
Parameters:
Returns:
setPrincipalType
public RoleAssignmentDetails setPrincipalType(String principalType)
Set the principalType property: Type of the principal Id: User, Group or ServicePrincipal.
Parameters:
Returns:
setRoleDefinitionId
public RoleAssignmentDetails setRoleDefinitionId(UUID roleDefinitionId)
Set the roleDefinitionId property: Role ID of the Synapse Built-In Role.
Parameters:
Returns:
setScope
public RoleAssignmentDetails setScope(String scope)
Set the scope property: Scope at the role assignment is created.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for