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> T
accept(RuleValueVisitor<T> visitor)
Invoke theRuleValueVisitor
functions for this Rule.boolean
equals(java.lang.Object o)
Endpoint
getEndpoint()
Retrieves the resolved endpoint description.int
hashCode()
java.lang.String
toString()
protected Type
typecheckValue(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:Rule
Invoke theRuleValueVisitor
functions for this Rule.
-
typecheckValue
protected Type typecheckValue(Scope<Type> scope)
- Specified by:
typecheckValue
in classRule
-
-