code: private void init(RemoteAuthenticatedUser user,
              ModeledConnectionGroup balancingGroup,
              ModeledConnection connection,
              ModeledSharingProfile sharingProfile) {
          this.user = user;
          this.balancingGroup = balancingGroup;
          this.connection = connection;
          this.sharingProfile = sharingProfile;
      }
docs: Initializes this connection record, associating it with the given user,
  connection, balancing connection group, and sharing profile. The given
  balancing connection group MUST be the connection group from which the
  given connection was chosen, and the given sharing profile MUST be the
  sharing profile that was used to share access to the given connection.
  The start date of this connection record will be the time of its
  creation.
  
  @param user
  The user that connected to the connection associated with this
  connection record.
  
  @param balancingGroup
  The balancing group from which the given connection was chosen, or
  null if no balancing group is being used.
  
  @param connection
  The connection to associate with this connection record.
  
  @param sharingProfile
  The sharing profile that was used to share access to the given
  connection, or null if no sharing profile was used.