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
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
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(RuleValueVisitor<T> visitor) Invoke theRuleValueVisitor
functions for this Rule.boolean
Retrieves the resolved endpoint description.int
hashCode()
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 Details
-
getEndpoint
Retrieves the resolved endpoint description.- Returns:
- the endpoint.
-
accept
Description copied from class:Rule
Invoke theRuleValueVisitor
functions for this Rule. -
typecheckValue
- Specified by:
typecheckValue
in classRule
-
equals
-
hashCode
public int hashCode() -
toString
-