Interface AutomatedReasoningPolicyAddVariableAnnotation.Builder

  • Method Details

    • name

      The name of the new variable. This name will be used to reference the variable in rule expressions.

      Parameters:
      name - The name of the new variable. This name will be used to reference the variable in rule expressions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.

      Parameters:
      type - The type of the variable, which can be a built-in type (like string or number) or a custom type defined in the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      A description of what the variable represents and how it should be used in rules.

      Parameters:
      description - A description of what the variable represents and how it should be used in rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.