Class: Aws::EntityResolution::Types::RuleCondition

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-entityresolution/types.rb

Overview

An object that defines the ‘ruleCondition` and the `ruleName` to use in a matching workflow.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

A statement that specifies the conditions for a matching rule.

If your data is accurate, use an Exact matching function: ‘Exact` or `ExactManyToMany`.

If your data has variations in spelling or pronunciation, use a Fuzzy matching function: ‘Cosine`, `Levenshtein`, or `Soundex`.

Use operators if you want to combine (‘AND`), separate (`OR`), or group matching functions `(…)`.

For example: ‘(Cosine(a, 10) AND Exact(b, true)) OR ExactManyToMany(c, d)`

Returns:

  • (String)


2898
2899
2900
2901
2902
2903
# File 'lib/aws-sdk-entityresolution/types.rb', line 2898

class RuleCondition < Struct.new(
  :rule_name,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#rule_nameString

A name for the matching rule.

For example: ‘Rule1`

Returns:

  • (String)


2898
2899
2900
2901
2902
2903
# File 'lib/aws-sdk-entityresolution/types.rb', line 2898

class RuleCondition < Struct.new(
  :rule_name,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end