Class UserRoleAssignmentValue

java.lang.Object
com.azure.resourcemanager.devcenter.models.UserRoleAssignmentValue

public final class UserRoleAssignmentValue extends Object
Mapping of user object ID to role assignments.
  • Constructor Details

    • UserRoleAssignmentValue

      public UserRoleAssignmentValue()
      Creates an instance of UserRoleAssignmentValue class.
  • Method Details

    • roles

      public Map<String,EnvironmentRole> 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.