RoleAssignmentPropertiesWithScope Class
- java.
lang. Object - com.
microsoft. azure. management. graphrbac. RoleAssignmentPropertiesWithScope
- com.
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. |
Role |
withPrincipalId(String principalId)
Set the principalId value. |
Role |
withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId value. |
Role |
withScope(String scope)
Set the scope value. |
Method Details
principalId
public String principalId()
Get the principalId value.
Returns:
roleDefinitionId
public String roleDefinitionId()
Get the roleDefinitionId value.
Returns:
scope
public String scope()
Get the scope value.
Returns:
withPrincipalId
public RoleAssignmentPropertiesWithScope withPrincipalId(String principalId)
Set the principalId value.
Parameters:
Returns:
withRoleDefinitionId
public RoleAssignmentPropertiesWithScope withRoleDefinitionId(String roleDefinitionId)
Set the roleDefinitionId value.
Parameters:
Returns:
withScope
public RoleAssignmentPropertiesWithScope withScope(String scope)
Set the scope value.
Parameters:
Returns:
Applies to
Azure SDK for Java