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.
  • Method Details

    • 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 the RuleValueVisitor functions for this Rule.
      Specified by:
      accept in class Rule
      Type Parameters:
      T - the visitor return type.
      Parameters:
      visitor - the visitor to be invoked.
      Returns:
      the return value of the visitor.
    • typecheckValue

      protected Type typecheckValue(Scope<Type> scope)
      Specified by:
      typecheckValue in class Rule
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Rule
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Rule
    • toString

      public String toString()
      Overrides:
      toString in class Rule