Interface RuleStringExpression.Builder

  • Method Details

    • evaluate

      The string to evaluate in a string condition expression.

      Parameters:
      evaluate - The string to evaluate in a string condition expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluate

      The string to evaluate in a string condition expression.

      This is a convenience method that creates an instance of the RuleStringToEvaluate.Builder avoiding the need to create one manually via RuleStringToEvaluate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluate(RuleStringToEvaluate).

      Parameters:
      evaluate - a consumer that will call methods on RuleStringToEvaluate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operator

      The matching operator for a string condition expression.

      Parameters:
      operator - The matching operator for a string condition expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operator

      The matching operator for a string condition expression.

      Parameters:
      operator - The matching operator for a string condition expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • values

      The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

      Parameters:
      values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.

      Parameters:
      values - The string(s) to be evaluated in a string condition expression. For all operators, except for NOT_EQUALS, if multiple values are given, the values are processed as an OR. That is, if any of the values match the email's string using the given operator, the condition is deemed to match. However, for NOT_EQUALS, the condition is only deemed to match if none of the given strings match the email's string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.