Class EndpointRuleSet.EndpointPathCollector
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.EndpointRuleSet.EndpointPathCollector
-
- Enclosing class:
- EndpointRuleSet
public static final class EndpointRuleSet.EndpointPathCollector extends java.lang.Object
EndpointRuleSet
visitor that collects a map of JSON pointer paths toEndpoint
s.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,Endpoint>
collect()
Collects the mapped JSON pointer paths toEndpoint
s.static EndpointRuleSet.EndpointPathCollector
from(EndpointRuleSetTrait endpointRuleSetTrait)
Creates a collector from anEndpointRuleSetTrait
.
-
-
-
Method Detail
-
from
public static EndpointRuleSet.EndpointPathCollector from(EndpointRuleSetTrait endpointRuleSetTrait)
Creates a collector from anEndpointRuleSetTrait
.- Parameters:
endpointRuleSetTrait
- EndpointRuleSet trait instance.
-
-