@SuppressWarnings("unchecked")
        public T typedProperties(Map<Property<?>, Object> properties) {
            this.typedProperties.clear();
            this.typedProperties.get().putAll(properties);
            return (T) this;
        }
Replaces all the custom typed properties.

@param properties Custom typed properties to replace with.
@return Returns the builder.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/TypedPropertiesBag.java