Class UserRoleAssignmentValue
java.lang.Object
com.azure.resourcemanager.devcenter.models.UserRoleAssignmentValue
Mapping of user object ID to role assignments.
-
Constructor Summary
ConstructorDescriptionCreates an instance of UserRoleAssignmentValue class. -
Method Summary
-
Constructor Details
-
UserRoleAssignmentValue
public UserRoleAssignmentValue()Creates an instance of UserRoleAssignmentValue class.
-
-
Method Details
-
roles
Get the roles property: A map of roles to assign to the parent user.- Returns:
- the roles value.
-
withRoles
Set the roles property: A map of roles to assign to the parent user.- Parameters:
roles
- the roles value to set.- Returns:
- the UserRoleAssignmentValue object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-