RoleAssignmentDetails Class

  • java.lang.Object
    • com.azure.analytics.synapse.accesscontrol.models.RoleAssignmentDetails

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 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 getRoleDefinitionId()

Get the roleDefinitionId property: Role ID of the Synapse Built-In Role.

String getScope()

Get the scope property: Scope at the role assignment is created.

RoleAssignmentDetails setId(String id)

Set the id property: Role Assignment ID.

RoleAssignmentDetails setPrincipalId(UUID principalId)

Set the principalId property: Object ID of the AAD principal or security-group.

RoleAssignmentDetails setPrincipalType(String principalType)

Set the principalType property: Type of the principal Id: User, Group or ServicePrincipal.

RoleAssignmentDetails setRoleDefinitionId(UUID roleDefinitionId)

Set the roleDefinitionId property: Role ID of the Synapse Built-In Role.

RoleAssignmentDetails 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:

the id value.

getPrincipalId

public UUID getPrincipalId()

Get the principalId property: Object ID of the AAD principal or security-group.

Returns:

the principalId value.

getPrincipalType

public String getPrincipalType()

Get the principalType property: Type of the principal Id: User, Group or ServicePrincipal.

Returns:

the principalType value.

getRoleDefinitionId

public UUID getRoleDefinitionId()

Get the roleDefinitionId property: Role ID of the Synapse Built-In Role.

Returns:

the roleDefinitionId value.

getScope

public String getScope()

Get the scope property: Scope at the role assignment is created.

Returns:

the scope value.

setId

public RoleAssignmentDetails setId(String id)

Set the id property: Role Assignment ID.

Parameters:

id - the id value to set.

Returns:

the RoleAssignmentDetails object itself.

setPrincipalId

public RoleAssignmentDetails setPrincipalId(UUID principalId)

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.

setPrincipalType

public RoleAssignmentDetails setPrincipalType(String principalType)

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.

setRoleDefinitionId

public RoleAssignmentDetails setRoleDefinitionId(UUID roleDefinitionId)

Set the roleDefinitionId property: Role ID of the Synapse Built-In Role.

Parameters:

roleDefinitionId - the roleDefinitionId value to set.

Returns:

the RoleAssignmentDetails object itself.

setScope

public RoleAssignmentDetails setScope(String scope)

Set the scope property: Scope at the role assignment is created.

Parameters:

scope - the scope value to set.

Returns:

the RoleAssignmentDetails object itself.

Applies to