RoleAssignmentRequest Class

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

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 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.

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:

the principalId value.

getPrincipalType

public String getPrincipalType()

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

Returns:

the principalType value.

getRoleId

public UUID getRoleId()

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

Returns:

the roleId value.

getScope

public String getScope()

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

Returns:

the scope value.

setPrincipalId

public RoleAssignmentRequest 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 RoleAssignmentRequest object itself.

setPrincipalType

public RoleAssignmentRequest 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 RoleAssignmentRequest object itself.

setRoleId

public RoleAssignmentRequest setRoleId(UUID roleId)

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

Parameters:

roleId - the roleId value to set.

Returns:

the RoleAssignmentRequest object itself.

setScope

public RoleAssignmentRequest setScope(String scope)

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

Parameters:

scope - the scope value to set.

Returns:

the RoleAssignmentRequest object itself.

Applies to