public EndpointRuleSet getEndpointRuleSet() {
        // EndpointRuleSet creation loads an SPI of functions, builtins, and more.
        // That work is deferred until necessary, usually when a ruleset is being validated.
        if (endpointRuleSet == null) {
            endpointRuleSet = EndpointRuleSet.fromNode(ruleSet);
        }
        return endpointRuleSet;
    }
Defines an endpoint rule-set used to resolve the client's transport endpoint.
smithy-rules-engine/src/main/java/software/amazon/smithy/rulesengine/traits/EndpointRuleSetTrait.java