Class CfnMatchingWorkflow.RuleConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.entityresolution.CfnMatchingWorkflow.RuleConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMatchingWorkflow.RuleConditionProperty>
- Enclosing interface:
CfnMatchingWorkflow.RuleConditionProperty
@Stability(Stable)
public static final class CfnMatchingWorkflow.RuleConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMatchingWorkflow.RuleConditionProperty>
A builder for
CfnMatchingWorkflow.RuleConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnMatchingWorkflow.RuleConditionProperty.getCondition()Sets the value ofCfnMatchingWorkflow.RuleConditionProperty.getRuleName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
condition
@Stability(Stable) public CfnMatchingWorkflow.RuleConditionProperty.Builder condition(String condition) Sets the value ofCfnMatchingWorkflow.RuleConditionProperty.getCondition()- Parameters:
condition- A statement that specifies the conditions for a matching rule. If your data is accurate, use an Exact matching function:ExactorExactManyToMany.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:
this
-
ruleName
@Stability(Stable) public CfnMatchingWorkflow.RuleConditionProperty.Builder ruleName(String ruleName) Sets the value ofCfnMatchingWorkflow.RuleConditionProperty.getRuleName()- Parameters:
ruleName- A name for the matching rule. For example:Rule1- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMatchingWorkflow.RuleConditionProperty>- Returns:
- a new instance of
CfnMatchingWorkflow.RuleConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-