Interface RuleCondition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleCondition.Builder,
,RuleCondition> SdkBuilder<RuleCondition.Builder,
,RuleCondition> SdkPojo
- Enclosing class:
RuleCondition
-
Method Summary
Modifier and TypeMethodDescriptionA statement that specifies the conditions for a matching rule.A name for the matching rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleName
A name for the matching rule.
For example:
Rule1
- Parameters:
ruleName
- A name for the matching rule.For example:
Rule1
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
A statement that specifies the conditions for a matching rule.
If your data is accurate, use an Exact matching function:
Exact
orExactManyToMany
.If your data has variations in spelling or pronunciation, use a Fuzzy matching function:
Cosine
,Levenshtein
, orSoundex
.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)
- Parameters:
condition
- A statement that specifies the conditions for a matching rule.If your data is accurate, use an Exact matching function:
Exact
orExactManyToMany
.If your data has variations in spelling or pronunciation, use a Fuzzy matching function:
Cosine
,Levenshtein
, orSoundex
.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:
- Returns a reference to this object so that method calls can be chained together.
-