public Builder setTraceMetadataAsDefault(String artifactType) {
            String tempIdVersion = UUID.randomUUID().toString();
            this.metadata = TraceMetadata.builder()
                    .version(tempIdVersion)
                    .id(tempIdVersion)
                    .type(artifactType)
                    .setTimestampAsNow()
                    .build();
            return this;
        }
Sets the Builder's {@link TraceMetadata} based on the given type and
default values for other required fields. This method should ONLY be used
when the version, type, homepage, and typeVersion of the TraceMetadata
object is unknown at the time of code generation. This method will ONLY set
the required fields of the {@link TraceMetadata}.

<p>The type is set to the artifactType that is passed in. The artifactType is
the code language of the generated artifact, e.g. Java.

<p>The timestamp in TraceMetadata is set to the current time when the
method is called.

<p>The id and version are set to a UUID that should be changed after the
TraceFile is constructed and the correct id and version are known.

@param artifactType The type, i.e. language, of the TraceMetadata object.
@return This Builder.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/trace/TracingSymbolProvider.java