Class EndpointRule
- java.lang.Object
-
- software.amazon.smithy.rulesengine.language.syntax.rule.Rule
-
- software.amazon.smithy.rulesengine.language.syntax.rule.EndpointRule
-
- All Implemented Interfaces:
FromSourceLocation,ToNode,TypeCheck
public final class EndpointRule extends Rule
A rule-set rule that specifies a resolved endpoint.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
Rule.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(RuleValueVisitor<T> visitor)Invoke theRuleValueVisitorfunctions for this Rule.booleanequals(java.lang.Object o)EndpointgetEndpoint()Retrieves the resolved endpoint description.inthashCode()java.lang.StringtoString()protected TypetypecheckValue(Scope<Type> scope)-
Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
builder, builder, fromNode, getConditions, getDocumentation, getSourceLocation, toNode, typeCheck
-
-
-
-
Method Detail
-
getEndpoint
public Endpoint getEndpoint()
Retrieves the resolved endpoint description.- Returns:
- the endpoint.
-
accept
public <T> T accept(RuleValueVisitor<T> visitor)
Description copied from class:RuleInvoke theRuleValueVisitorfunctions for this Rule.
-
typecheckValue
protected Type typecheckValue(Scope<Type> scope)
- Specified by:
typecheckValuein classRule
-
-