code: public RoleAssignmentInner createById(String roleId, RoleAssignmentCreateParameters parameters) {
          return createByIdWithServiceResponseAsync(roleId, parameters).toBlocking().single().body();
      }
docs: Creates a role assignment by ID.
  
  @param roleId The ID of the role assignment to create.
  @param parameters Parameters for the role assignment.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the RoleAssignmentInner object if successful.