Class EndpointRuleSet.EndpointPathCollector
java.lang.Object
software.amazon.smithy.rulesengine.language.EndpointRuleSet.EndpointPathCollector
- Enclosing class:
- EndpointRuleSet
EndpointRuleSet visitor that collects a map of JSON pointer paths to Endpoints.-
Method Summary
Modifier and TypeMethodDescriptioncollect()Collects the mapped JSON pointer paths toEndpoints.from(EndpointRuleSetTrait endpointRuleSetTrait) Creates a collector from anEndpointRuleSetTrait.
-
Method Details
-
from
Creates a collector from anEndpointRuleSetTrait.- Parameters:
endpointRuleSetTrait- EndpointRuleSet trait instance.
-
collect
Collects the mapped JSON pointer paths toEndpoints.- Returns:
- a map of JSON pointer paths to
Endpoints.
-