code: public static Link fromSpanContext(
        SpanContext context, Type type, Map<String, AttributeValue> attributes) {
      return new AutoValue_Link(
          context.getTraceId(),
          context.getSpanId(),
          type,
          Collections.unmodifiableMap(new HashMap<String, AttributeValue>(attributes)));
    }
docs: Returns a new {@code Link}.
  
  @param context the context of the linked {@code Span}.
  @param type the type of the relationship with the linked {@code Span}.
  @param attributes the attributes of the {@code Link}.
  @return a new {@code Link}.
  @since 0.5