Interface SemanticError.Builder

  • Method Details

    • problem

      SemanticError.Builder problem(String problem)

      An uppercase code naming the problem, such as UNKNOWN_CAPABILITY or REQUIRES_EXACTLY_ONE_MEMBER.

      Parameters:
      problem - An uppercase code naming the problem, such as UNKNOWN_CAPABILITY or REQUIRES_EXACTLY_ONE_MEMBER.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • item

      The field or item the problem applies to, such as approve or nextToken.

      Parameters:
      item - The field or item the problem applies to, such as approve or nextToken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      The value that caused the problem, when there is one.

      Parameters:
      value - The value that caused the problem, when there is one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.