@SmithyInternalApi
        public static EndpointPathCollector from(EndpointRuleSetTrait endpointRuleSetTrait) {
            return new EndpointPathCollector(endpointRuleSetTrait);
        }
Creates a collector from an {@link EndpointRuleSetTrait}.

@param endpointRuleSetTrait EndpointRuleSet trait instance.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/language/EndpointRuleSet.java