RoleAssignmentPropertiesWithScope Class

  • java.lang.Object
    • com.microsoft.azure.management.graphrbac.RoleAssignmentPropertiesWithScope

public class RoleAssignmentPropertiesWithScope

Role assignment properties with scope.

Method Summary

Modifier and Type Method and Description
String principalId()

Get the principalId value.

String roleDefinitionId()

Get the roleDefinitionId value.

String scope()

Get the scope value.

RoleAssignmentPropertiesWithScope withPrincipalId(String principalId)

Set the principalId value.

RoleAssignmentPropertiesWithScope withRoleDefinitionId(String roleDefinitionId)

Set the roleDefinitionId value.

RoleAssignmentPropertiesWithScope withScope(String scope)

Set the scope value.

Method Details

principalId

public String principalId()

Get the principalId value.

Returns:

the principalId value

roleDefinitionId

public String roleDefinitionId()

Get the roleDefinitionId value.

Returns:

the roleDefinitionId value

scope

public String scope()

Get the scope value.

Returns:

the scope value

withPrincipalId

public RoleAssignmentPropertiesWithScope withPrincipalId(String principalId)

Set the principalId value.

Parameters:

principalId - the principalId value to set

Returns:

the RoleAssignmentPropertiesWithScope object itself.

withRoleDefinitionId

public RoleAssignmentPropertiesWithScope withRoleDefinitionId(String roleDefinitionId)

Set the roleDefinitionId value.

Parameters:

roleDefinitionId - the roleDefinitionId value to set

Returns:

the RoleAssignmentPropertiesWithScope object itself.

withScope

public RoleAssignmentPropertiesWithScope withScope(String scope)

Set the scope value.

Parameters:

scope - the scope value to set

Returns:

the RoleAssignmentPropertiesWithScope object itself.

Applies to