Class CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.entityresolution.CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>
- Enclosing interface:
CfnMatchingWorkflow.RuleBasedPropertiesProperty
@Stability(Stable)
public static final class CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>
A builder for
CfnMatchingWorkflow.RuleBasedPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeMatchingModel(String attributeMatchingModel) build()Builds the configured instance.Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()rules(IResolvable rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeMatchingModel
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder attributeMatchingModel(String attributeMatchingModel) - Parameters:
attributeMatchingModel- The comparison type. This parameter is required. You can either chooseONE_TO_ONEorMANY_TO_MANYas the AttributeMatchingModel. When choosingMANY_TO_MANY, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmailfield of Profile A and the value ofBusinessEmailfield of Profile B matches, the two profiles are matched on theEmailtype. When choosingONE_TO_ONE,the system can only match if the sub-types are exact matches. For example, only when the value of theEmailfield of Profile A and the value of theEmailfield of Profile B matches, the two profiles are matched on theEmailtype.- Returns:
this
-
rules
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder rules(IResolvable rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()- Parameters:
rules- A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys. This parameter is required.- Returns:
this
-
rules
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()- Parameters:
rules- A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>- Returns:
- a new instance of
CfnMatchingWorkflow.RuleBasedPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-